Windows Dev Center

GameService.PostResult method

Terminate and post the results of a game.

Syntax


Public Shared Sub PostResult(
  gameVariant As UInteger,  
  scoreKind As GameServiceScoreKind,  
  scoreValue As Long,  
  gameOutcome As GameServiceGameOutcome,  
  buffer As IBuffer 
)

Parameters

gameVariant

Type: System.UInt32 [.NET] | uint32 [C++]

An app-specific game variant identifier.

scoreKind

Type: GameServiceScoreKind

The kind of score in the result.

scoreValue

Type: System.Int64 [.NET] | int64 [C++]

The score value in the result.

gameOutcome

Type: GameServiceGameOutcome

The outcome of the game.

buffer

Type: IBuffer

A data buffer to be included with the result.

Remarks

All members of the Windows.Phone.System.UserProfile.GameServices.Core namespace can only be used by the XBox Live SDK. These APIs cannot be called except by applications that have the ID_CAP_GAMERSERVICES capability.

Requirements (device family)

Device family

Mobile

API contract

Windows.Phone.PhoneContract, introduced version 1.0

Namespace

Windows.Phone.System.UserProfile.GameServices.Core
Windows::Phone::System::UserProfile::GameServices::Core [C++]

Metadata

Windows.Phone.PhoneContract.winmd

Requirements (operating system)

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.System.UserProfile.GameServices.Core
Windows::Phone::System::UserProfile::GameServices::Core [C++]

Metadata

Windows.WinMD

See also

GameService

 

 

Community Additions

ADD
Show:
© 2015 Microsoft