GKTurnBasedMatch.LoadMatchAsync(String) 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
.
[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