Represents the method that will handle the SshTaskFailedEvent event of SshScript.

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

Syntax

C#
public delegate void SshTaskFailedEventHandler(
	Object source,
	SshTaskFailedEventArgs args
)
Visual Basic
Public Delegate Sub SshTaskFailedEventHandler ( _
	source As Object, _
	args As SshTaskFailedEventArgs _
)
Visual C++
public delegate void SshTaskFailedEventHandler(
	Object^ source, 
	SshTaskFailedEventArgs^ args
)

Parameters

source
Type: System..::..Object
Object source for this event.
args
Type: Jscape.Ssh..::..SshTaskFailedEventArgs
Event arguments for this event.

Remarks

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