Shuts down the server instance.
public:
void Shutdown()
Shutdown finalizes the shut down process and should be called within five minutes from the point InitiateShutdown is called. Once Shutdown has been called, titles shouldn’t perform any further actions.
Note Titles should not expect the server to maintain any state information after Shutdown has been called. In most cases, after calling Shutdown the server instance will behave as if it has been rebooted and reallocated as a new game host. Titles should remove all locally saved state from the local hard disk.
To ensure that the game will shutdown correctly in all cases, please enclose your InitiateShutdown and Shutdown and the code inside the shutdown callback, in an exception handler. There may be an exception thrown in certain race conditions which can be safely ignored.
Header: Declared in ServerStateLifetimeManagement.h.
Library: Use GSDK110.lib (VS 2012) or GSDK100.lib (VS 2010).