MultiplayerSession.SetAllocateCloudCompute(Boolean) 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.
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.