GameServerPlatformService.GetSessionHostAllocationStatus Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get allocation status for a previous allocate session host request
public Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.GameServerPlatform.AllocationResult> GetSessionHostAllocationStatus (uint gameServerTitleId, string sessionId);
abstract member GetSessionHostAllocationStatus : uint32 * string -> Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.GameServerPlatform.AllocationResult>
override this.GetSessionHostAllocationStatus : uint32 * string -> Windows.Foundation.IAsyncOperation<Microsoft.Xbox.Services.GameServerPlatform.AllocationResult>
Public Function GetSessionHostAllocationStatus (gameServerTitleId As UInteger, sessionId As String) As IAsyncOperation(Of AllocationResult)
Parameters
- gameServerTitleId
- UInt32
Title ID of the game server
- sessionId
- String
This is the caller specified identifier. It is assigned to the session host that is allocated and returned. Later on you can reference the specific sessionhost by this identifier. It must be globally unique(i.e.GUID).
Returns
AllocationResult object
Implements
Remarks
Calls V8 POST /titles/{gameServerTitleId}/sessionhosts