PowerTCP Mail for .NET
EndLogin Event
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > Pop Class : EndLogin Event




Raised when the Pop.BeginLogin request completes.

Syntax

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

Event Data

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.

PropertyDescription
Exception Gets any exception which occurred during the asynchronous operation.
State Gets the object that was included as part of the associated method call.

Remarks

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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.