| Visual Basic (Declaration) | |
|---|---|
<DescriptionAttribute("Raised when the BeginLogin() request completes.")> <CategoryAttribute("Completion")> Public Event EndLogin As ExceptionEventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Pop Dim handler As ExceptionEventHandler AddHandler instance.EndLogin, handler | |
| C# | |
|---|---|
[DescriptionAttribute("Raised when the BeginLogin() request completes.")] [CategoryAttribute("Completion")] public event ExceptionEventHandler EndLogin | |
| Managed Extensions for C++ | |
|---|---|
[DescriptionAttribute("Raised when the BeginLogin() request completes.")] [CategoryAttribute("Completion")] public: __event ExceptionEventHandler* EndLogin | |
| C++/CLI | |
|---|---|
[DescriptionAttribute("Raised when the BeginLogin() request completes.")] [CategoryAttribute("Completion")] public: event ExceptionEventHandler^ EndLogin | |
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.BeginLogin 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.BeginLogin method. See Using EndXXX Events for more information.
Target Platforms: Microsoft .NET Framework 2.0