Partager via


GKMatch.ChooseBestHostingPlayerAsync Méthode

Définition

[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.

S’applique à