System.Web.UI.WebControls.LoginCancelEventArgs Class

Provides data for a cancelable event.

See Also: LoginCancelEventArgs Members


public class LoginCancelEventArgs : EventArgs


A cancelable event is raised when a component is about to perform an action that can be canceled, such as logging on to a Web site.

The System.Web.UI.WebControls.LoginCancelEventArgs class provides the LoginCancelEventArgs.Cancel property to indicate whether the event should be canceled. A System.Web.UI.WebControls.LoginCancelEventArgs object is used with controls that have cancelable actions, such as the System.Web.UI.WebControls.Login control, the System.Web.UI.WebControls.CreateUserWizard control, and the System.Web.UI.WebControls.PasswordRecovery control.


Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions:
Since: .NET 2.0