| Visual Basic (Declaration) | |
|---|---|
<CategoryAttribute("Completion")> <DescriptionAttribute("Raised when the BeginLogout() request completes.")> Public Event EndLogout As ExceptionEventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Pop Dim handler As ExceptionEventHandler AddHandler instance.EndLogout, handler | |
| C# | |
|---|---|
[CategoryAttribute("Completion")] [DescriptionAttribute("Raised when the BeginLogout() request completes.")] public event ExceptionEventHandler EndLogout | |
| Managed Extensions for C++ | |
|---|---|
[CategoryAttribute("Completion")] [DescriptionAttribute("Raised when the BeginLogout() request completes.")] public: __event ExceptionEventHandler* EndLogout | |
| C++/CLI | |
|---|---|
[CategoryAttribute("Completion")] [DescriptionAttribute("Raised when the BeginLogout() request completes.")] public: event ExceptionEventHandler^ EndLogout | |
The event handler receives an argument of type ExceptionEventArgs containing data related to this event. The following ExceptionEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Exception | Gets any exception which occurred during the asynchronous operation. |
| State | Gets the object that was included as part of the associated method call. |
This event is raised when the asynchronous method call Pop.BeginLogout completes. An EventArgs object will be passed into the event.
For more information on using events using PowerTCP.NET within the Visual Studio.NET environment, see Using Events Within The Visual Studio.NET Environment.
If you are using the Pop component as a reference, you must create a method to handle the event yourself. To learn how to do this, see Using Events When The A Component Is Used As A Reference.
This event MUST be implemented if you are using the Pop.BeginLogout method. See Using EndXXX Events for more information.
Target Platforms: Microsoft .NET Framework 2.0