Skip to main content
A newer version of this page is available. .

WebApplication.LogOff(Boolean) Method

Performs the ASP.NET application logout.

Namespace: DevExpress.ExpressApp.Web

Assembly: DevExpress.ExpressApp.Web.v18.2.dll

Declaration

public void LogOff(
    bool canCancel
)

Parameters

Name Type Description
canCancel Boolean

true, if the log off can be canceled in the XafApplication.LoggingOff event handler; otherwise - false;

Remarks

Triggers the XafApplication.LoggingOff and XafApplication.LoggedOff events. You can handle the former to cancel the log off process, and the latter, to be notified when a user has logged off. Note that if the canCancel parameter is false, the Cancel parameter of the LoggingOff event handler is ignored.

See Also