.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

XafApplication.Exit() Method

Finishes runing the application.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v20.2.dll


public void Exit()
Public Sub Exit


This method calls the corresponding methods of the XafApplication class descendants. In the WinApplication class, the System.Windows.Forms.Application.Exit method is called. So, use this method in a Windows Forms application, to stop all running message loops and close all appliation windows when executing a start-up Action.

See Also