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

WebApplication.LogOff(Boolean) Method

Performs the ASP.NET application logout.

Namespace: DevExpress.ExpressApp.Web

Assembly: DevExpress.ExpressApp.Web.v19.1.dll


public void LogOff(
    bool canCancel
Public Sub LogOff(
    canCancel As Boolean


Name Type Description
canCancel Boolean

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


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