C-DEngine 5.105

TheBaseApplication..::..Shutdown Method

Shutsdown the C-DEngine and all plugins Applications can override this function to add custom shutdown code

Namespace:  nsCDEngine.BaseClasses
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public virtual void Shutdown(
	bool ForceExit,
	bool waitIfPending
)
Public Overridable Sub Shutdown ( _
	ForceExit As Boolean, _
	waitIfPending As Boolean _
)
public:
virtual void Shutdown(
	bool^ ForceExit, 
	bool^ waitIfPending
)

Parameters

ForceExit
Type: Boolean
If True and the C-DEngine will Stop or restart the hosting application. If it is hosted in IIS, the Application Pool hosting the app will be Stopped or Restarted depending on the next parameter
waitIfPending
Type: Boolean
Waits in case The shutdown is already initiated