Compartilhar via


SKCloudServiceController.RequestPersonalizationTokenAsync(String) Método

Definição

Os desenvolvedores não devem usar esse método preterido. Em vez disso, os desenvolvedores devem usar 'RequestUserToken'.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'RequestUserToken' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'RequestUserToken' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 2, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<Foundation.NSString> RequestPersonalizationTokenAsync (string clientToken);
abstract member RequestPersonalizationTokenAsync : string -> System.Threading.Tasks.Task<Foundation.NSString>
override this.RequestPersonalizationTokenAsync : string -> System.Threading.Tasks.Task<Foundation.NSString>

Parâmetros

clientToken
String

Retornos

Uma tarefa que representa a operação Assíncrona RequestPersonalizationToken. O valor do parâmetro TResult é do tipo System.Action<Foundation.NSString,Foundation.NSError>.

Atributos

Aplica-se a