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
)
Public Sub LogOff(
    canCancel As Boolean
)

Parameters

Type Name Description
Boolean canCancel

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