Represents the method that will handle the
DataReceivedEvent event.
Namespace: Jscape.EmailAssembly: Jscape.Email (in Jscape.Email.dll) Version: 2.4.5.0
Syntax
C# |
---|
public delegate void DataReceivedEventHandler( Object sender, ImapDataReceivedEventArgs e ) |
Visual Basic |
---|
Public Delegate Sub DataReceivedEventHandler ( _ sender As Object, _ e As ImapDataReceivedEventArgs _ ) |
Visual C++ |
---|
public delegate void DataReceivedEventHandler( Object^ sender, ImapDataReceivedEventArgs^ e ) |
Parameters
- sender
- Type: System..::..Object
Object source for this event.
- e
- Type: Jscape.Email..::..ImapDataReceivedEventArgs
Event arguments for this event.
Remarks
When you create a DataReceivedEventHandler 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.