Represents the method that will handle the SftpConnectedEvent event of Sftp.

Namespace: Jscape.Sftp
Assembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0

Syntax

C#
public delegate void SftpConnectedEventHandler(
	Object sender,
	SftpConnectedEventArgs args
)
Visual Basic
Public Delegate Sub SftpConnectedEventHandler ( _
	sender As Object, _
	args As SftpConnectedEventArgs _
)
Visual C++
public delegate void SftpConnectedEventHandler(
	Object^ sender, 
	SftpConnectedEventArgs^ args
)

Parameters

sender
Type: System..::..Object
Object source for this event.
args
Type: Jscape.Sftp..::..SftpConnectedEventArgs
Event arguments for this event.

Remarks

When you create a SftpConnectedEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, until you remove the delegate.

See Also