ServerStateLifetimeManagement::RegisterQuarantineCallback Method

Registers a callback that will be triggered when the Xbox Live Compute platform determines the server instance needs to be quarantined.

Syntax

public:
void RegisterQuarantineCallback(
         std::function<void(void)> callback
)  

Parameters

callback
Type: std::function<void(void)> 

A callable object with the signature void(void).

Return value

None.

Remarks

When RegisterQuarantineCallback is called, the game host will have already been removed from the Multiplayer Session Directory (MPSD) session. Add code into this callback for extra debug logging if needed.

Requirements

Header: Declared in ServerStateLifetimeManagement.h.

Library: Use GSDK110.lib (VS 2012) or GSDK100.lib (VS 2010).

See also

Reference

ServerStateLifetimeManagement

ServerStateLifetimeManagement Members