Edit

Share via


GKTurnBasedMatch.LoadMatchAsync(String) Method

Definition

Loads the match that is identified by matchId and passes the match (which is null if an error occurs) and an error object (whic is null if there is no error) to onCompletion.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static System.Threading.Tasks.Task<GameKit.GKTurnBasedMatch> LoadMatchAsync (string matchId);
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public static System.Threading.Tasks.Task<GameKit.GKTurnBasedMatch> LoadMatchAsync (string matchId);
static member LoadMatchAsync : string -> System.Threading.Tasks.Task<GameKit.GKTurnBasedMatch>

Parameters

matchId
String

Returns

A task that represents the asynchronous LoadMatch operation. The value of the TResult parameter is of type System.Action<GameKit.GKTurnBasedMatch,Foundation.NSError>.

Attributes

Applies to