GKTurnBasedMatch.LoadMatch Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.
[Foundation.Export("loadMatchWithID:withCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static void LoadMatch (string matchId, Action<GameKit.GKTurnBasedMatch,Foundation.NSError> completionHandler);
[Foundation.Export("loadMatchWithID:withCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public static void LoadMatch (string matchId, Action<GameKit.GKTurnBasedMatch,Foundation.NSError> completionHandler);
static member LoadMatch : string * Action<GameKit.GKTurnBasedMatch, Foundation.NSError> -> unit
Parameters
- matchId
- String
- Attributes