expressappframework-devexpress-dot-expressapp-dot-xafapplication-6d62ad4b.md
Performs the application logout.
Namespace : DevExpress.ExpressApp
Assembly : DevExpress.ExpressApp.v25.2.dll
NuGet Package : DevExpress.ExpressApp
public virtual void LogOff()
Public Overridable Sub LogOff
This method is a base platform-independent method for the WinApplication.LogOff and BlazorApplication.LogOff methods. Use this method if you need to perform the LogOff operation from a platform-independent module.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the LogOff() method.
Note
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.
View.Close(false);
Application.LogOff();
}
See Also