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

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

Syntax

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

Parameters

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

Remarks

When you create a SftpDisconnectedEventHandler 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