GameService.PostResult method

Applies to Windows Phone only

Terminate and post the results of a game.

Syntax


public static void PostResult(
  uint gameVariant, 
  GameServiceScoreKind scoreKind, 
  long scoreValue, 
  GameServiceGameOutcome gameOutcome, 
  IBuffer buffer
)

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

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:
© 2014 Microsoft