Partager via


GKMatch.ChooseBestHostPlayerAsync Méthode

Définition

Les développeurs ne doivent pas utiliser cette méthode dépréciée. Les développeurs doivent utiliser « ChooseBestHostingPlayer » à la place.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'ChooseBestHostingPlayer' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'ChooseBestHostingPlayer' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<string> ChooseBestHostPlayerAsync ();
abstract member ChooseBestHostPlayerAsync : unit -> System.Threading.Tasks.Task<string>
override this.ChooseBestHostPlayerAsync : unit -> System.Threading.Tasks.Task<string>

Retours

Tâche qui représente l’opération asynchrone ChooseBestHostPlayer. La valeur du paramètre TResult est de type System.Action<System.String>.

Attributs

S’applique à