The requested page is not available for the requested platform. You are viewing the content for Default platform.

XafApplication.LogonFailed Event

Occurs when the logon fails.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.1.dll

Declaration

public event EventHandler<LogonFailedEventArgs> LogonFailed
Public Event LogonFailed As EventHandler(Of LogonFailedEventArgs)

Event Data

The LogonFailed event handler receives an argument of the LogonFailedEventArgs type. The following properties provide information specific to this event.

Property Description
Exception Returns the exception that was raised when logging on.
Handled Gets or sets a value that indicates whether the event handler has completely handled the event or whether the system should continue its own processing.
(Inherited from HandledEventArgs)
LogonParameters Returns the current logon parameters.

Remarks

Handle this event to process the exception that failed the logon. This exception is available via the handler's LogonFailedEventArgs.Exception parameter. You can also access the current logon parameters via the handler's LogonFailedEventArgs.LogonParameters parameter.

To avoid throwing the exception, set the handler's Handled parameter to true.

See Also