Performs the ASP.NET Web Forms application logout.
NuGet Package: DevExpress.ExpressApp.Web
Triggers the following events:
- XafApplication.LoggingOff - handle this event to cancel the log off process.
- XafApplication.LoggedOff - handle this event to be notified when a user has logged off.
The LogoffController Controller uses this method.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the LogOff() method.
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.