Skip to main content
.NET 6.0+

XafApplication.Exit() Method

Finishes runing the application.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public void Exit()

Remarks

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