.NET Core 3.0+
.NET Framework 4.5.2+
.NET Standard 2.0+
The page you are viewing does not exist in the .NET Standard 2.0+ platform documentation. This link will take you to the parent topic of the current section.
.NET Core 3.0+

WinApplication.RunSetupInNewThread Property

Manages startup. Refer to the WinApplication.Setup method runs in a separate thread breaking change description for more information.

Namespace: DevExpress.ExpressApp.Win

Assembly: DevExpress.ExpressApp.Win.v20.2.dll

Declaration

[Browsable(false)]
[DefaultValue(true)]
public bool RunSetupInNewThread { get; set; }
<Browsable(False)>
<DefaultValue(True)>
Public Property RunSetupInNewThread As Boolean

Property Value

Type Description
Boolean

true, if the Logon and Main windows are created in the main thread, while the Setup() method runs in a separate thread; false if the Setup method runs in the main thread.

Remarks

Applications create startup templates in the main thread, and run the Setup() method in a new thread. This feature reduces application startup time.

You can set the RunSetupInNewThread property to false if you do not need to create any windows - for example, in tests or if you use a custom DBUpdater tool.

Implements

DevExpress.ExpressApp.Utils.ISupportRunSetupInNewThread.RunSetupInNewThread
See Also