.NET Framework Class Library LoginCancelEventHandler Delegate Represents the method that handles a cancelable event.
Namespace:
System.Web.UI.WebControls
Assembly:
System.Web (in System.Web.dll)

Syntax
Public Delegate Sub LoginCancelEventHandler ( _
sender As Object, _
e As LoginCancelEventArgs _
)
public delegate void LoginCancelEventHandler(
Object sender,
LoginCancelEventArgs e
)
public delegate void LoginCancelEventHandler(
Object^ sender,
LoginCancelEventArgs^ e
)
type LoginCancelEventHandler =
delegate of
sender:Object *
e:LoginCancelEventArgs -> unit

Remarks
The LoginCancelEventHandler class represents the method that handles the cancelable events, such as the LoggingIn event, or the CreatingUser event. When you create a LoginCancelEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event-handler delegates, see Events and Delegates.

Version Information
.NET FrameworkSupported in: 4, 3.5, 3.0, 2.0

Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

See Also
|
Bibliothèque de classes .NET Framework LoginCancelEventHandler, délégué Représente la méthode qui gère un événement annulable.
Espace de noms :
System.Web.UI.WebControls
Assembly :
System.Web (dans System.Web.dll)

Syntaxe
Public Delegate Sub LoginCancelEventHandler ( _
sender As Object, _
e As LoginCancelEventArgs _
)
public delegate void LoginCancelEventHandler(
Object sender,
LoginCancelEventArgs e
)
public delegate void LoginCancelEventHandler(
Object^ sender,
LoginCancelEventArgs^ e
)
type LoginCancelEventHandler =
delegate of
sender:Object *
e:LoginCancelEventArgs -> unit

Notes
La classe LoginCancelEventHandler représente la méthode qui gère les événements annulables, tels que l'événement LoggingIn, ou l'événement CreatingUser. Lorsque vous créez un délégué LoginCancelEventHandler, vous identifiez la méthode qui gérera l'événement. Pour associer l'événement à votre gestionnaire d'événements, ajoutez une instance du délégué à l'événement. Le gestionnaire d'événements est appelé chaque fois qu'un événement se produit, sauf si vous supprimez le délégué. Pour plus d'informations sur les délégués de gestionnaires d'événements, consultez Événements et délégués.

Informations de version
.NET FrameworkPris en charge dans : 4, 3.5, 3.0, 2.0

Plateformes
Windows 7, Windows Vista SP1 ou ultérieur, Windows XP SP3, Windows XP SP2 Édition x64, Windows Server 2008 (installation minimale non prise en charge), Windows Server 2008 R2 (installation minimale prise en charge avec SP1 ou version ultérieure), Windows Server 2003 SP2
Le .NET Framework ne prend pas en charge toutes les versions de chaque plateforme. Pour obtenir la liste des versions prises en charge, consultez Configuration requise du .NET Framework.

Voir aussi
RéférenceAutres ressources
|