GKTurnBasedMatch.LoadMatchAsync(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
載入 所 matchId
識別的相符專案,並傳遞比對 (,也就是 null
如果發生錯誤) ,且錯誤物件 (如果沒有任何錯誤) ,則 onCompletion
為 null。
[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>
參數
- matchId
- String
傳回
表示非同步 LoadMatch 作業的工作。 TResult 參數的值的類型為 System.Action < GameKit.GKTurnBasedMatch,Foundation.NSError > 。
- 屬性