GKMatch.ChooseBestHostingPlayerAsync Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<GameKit.GKPlayer> ChooseBestHostingPlayerAsync ();
abstract member ChooseBestHostingPlayerAsync : unit -> System.Threading.Tasks.Task<GameKit.GKPlayer>
override this.ChooseBestHostingPlayerAsync : unit -> System.Threading.Tasks.Task<GameKit.GKPlayer>
Retours
Tâche qui représente l’opération asynchrone ChooseBestHostingPlayer. La valeur du paramètre TResult est de type System.Action<GameKit.GKPlayer>.
- Attributs
Remarques
La méthode ChooseBestHostingPlayerAsync est appropriée pour être utilisée avec le langage asynchrone C# en retournant le contrôle à l’appelant avec une tâche représentant l’opération.
À ajouter.