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




Raised when the Pop.BeginLogout request completes.

Syntax

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

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.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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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