MultiplayerService::GetSessionAsync Method (const MultiplayerSessionReference&)

Gets a session object with all its attributes from the server.

Syntax

public:
pplx::task<MultiplayerSession> GetSessionAsync(
         const MultiplayerSessionReference &sessionReference
)  

Parameters

sessionReference
Type: MultiplayerSessionReference 

A reference to the multiplayer session to retrieve.

Return value

Type: pplx::task<MultiplayerSession> 

An asynchronous object for notifying when the operation has been completed.

Requirements

Header: Declared in MultiplayerService.h.

Library: Use GSDK110.lib (VS 2012) or GSDK100.lib (VS 2010).

See also

Reference

MultiplayerService