Edit

Share via


GameServerPlatformService.GetSessionHostAllocationStatus Method

Definition

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

Windows.Foundation.IAsyncOperation<AllocationResult>

AllocationResult object

Implements

Microsoft.Xbox.Services.GameServerPlatform.__IGameServerPlatformServicePublicNonVirtuals.GetSessionHostAllocationStatus(System.UInt32,System.String)

Remarks

Calls V8 POST /titles/{gameServerTitleId}/sessionhosts

Applies to