共用方式為


XblMultiplayerSessionConstantsSetMeasurementServerAddressesJson

The set of potential server connection strings that should be evaluated.

Syntax

HRESULT XblMultiplayerSessionConstantsSetMeasurementServerAddressesJson(  
         XblMultiplayerSessionHandle handle,  
         const char* measurementServerAddressesJson  
)  

Parameters

handle   _In_
Type: XblMultiplayerSessionHandle

Handle to the multiplayer session.

measurementServerAddressesJson   _In_
Type: char*

The Json that represent the measurement server addresses. Example JSON: { "server farm a": { "secureDeviceAddress": "r5Y=" // Base-64 encoded secure-device-address }, "datacenter b" : { "secureDeviceAddress": "rwY=" } }

Return value

Type: HRESULT

HRESULT return code for this API operation.

Requirements

Header: multiplayer_c.h

Library: Microsoft.Xbox.Services.14x.GDK.C.lib

See also

multiplayer_c