Edit

Share via


MultiplayerSession.SetAllocateCloudCompute(Boolean) Method

Definition

Sets the session properties/system/allocateCloudCompute field

public void SetAllocateCloudCompute (bool allocateCloudCompute);
abstract member SetAllocateCloudCompute : bool -> unit
override this.SetAllocateCloudCompute : bool -> unit
Public Sub SetAllocateCloudCompute (allocateCloudCompute As Boolean)

Parameters

allocateCloudCompute
Boolean

Implements

Microsoft.Xbox.Services.Multiplayer.__IMultiplayerSessionPublicNonVirtuals.SetAllocateCloudCompute(System.Boolean)

Remarks

After calling this method, the caller must use MultiplayerService.WriteSessionAsync to write batched local changes to the service.If SetHostDeviceToken is called without calling WriteSessionAsync, it only changes the local session object but does not commit it to the service.

Applies to