| Visual Basic (Declaration) | |
|---|---|
<CategoryAttribute("Completion")> Public Event EndLogout As ImapResponseEventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Imap Dim handler As ImapResponseEventHandler AddHandler instance.EndLogout, handler | |
| C# | |
|---|---|
[CategoryAttribute("Completion")] public event ImapResponseEventHandler EndLogout | |
| Managed Extensions for C++ | |
|---|---|
[CategoryAttribute("Completion")] public: __event ImapResponseEventHandler* EndLogout | |
| C++/CLI | |
|---|---|
[CategoryAttribute("Completion")] public: event ImapResponseEventHandler^ EndLogout | |
The event handler receives an argument of type ImapResponseEventArgs containing data related to this event. The following ImapResponseEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Exception (Inherited from Dart.PowerTCP.Mail.EndEventArgs) | Gets any exception which occurred during the asynchronous operation. |
| Response | Gets an ImapResponse object representing a single line response from the IMAP server. |
| Responses | Gets an array of ImapResponse objects representing all responses from the IMAP server applicable to this event. |
| State (Inherited from Dart.PowerTCP.Mail.EndEventArgs) | Gets the object that was included as part of the associated method call. |
This event is raised when the asynchronous operation started by the Imap.BeginLogout method completes. An ImapResponseEventArgs object is passed into the event handler, encapsulating the response(s) from the server. If an exception occurred during the asynchronous operation, it would also be returned in the ImapResponseEventArgs object in the ImapResponseEventArgs.Exception property. If an exception is present, it will be thrown if you access any member of the ImapResponseEventArgs object.
This event MUST be implemented if you are using the Imap.BeginLogout method. See the topic Using EndXXX Events for more information.
For more information on using PowerTCP events, see the topic Using Events In PowerTCP.
Target Platforms: Microsoft .NET Framework 2.0