Catalyst File Transfer .NET

FileTransfer.OnProgressEventHandler Delegate

Represents the method that will handle the OnProgress event.

[Visual Basic]
Public Delegate Sub FileTransfer.OnProgressEventHandler( _
   ByVal sender As Object, _
   ByVal e As ProgressEventArgs _
)
[C#]
public delegate void FileTransfer.OnProgressEventHandler(
   object sender,
   ProgressEventArgs e
);

Parameters

sender
The source of the event.
e
A ProgressEventArgs object that contains the event data.

Remarks

When you create an OnProgressEventHandler 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.

Note that the declaration of your event handler must have the same parameters as the OnProgressEventHandler delegate declaration.

Requirements

Namespace: SocketTools

Assembly: SocketTools.FileTransfer (in SocketTools.FileTransfer.dll)

See Also

SocketTools Namespace