Condividi tramite


ACAccountStore.RequestAccessAsync Metodo

Definizione

Overload

RequestAccessAsync(ACAccountType)

Richiede l'accesso a un tipo di account social.

RequestAccessAsync(ACAccountType, AccountStoreOptions)
RequestAccessAsync(ACAccountType, NSDictionary)

RequestAccessAsync(ACAccountType)

Richiede l'accesso a un tipo di account social.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, "Use 'RequestAccess (ACAccountType, AccountStoreOptions, ACRequestCompletionHandler)' instead.")]
public virtual System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError>> RequestAccessAsync (Accounts.ACAccountType accountType);
abstract member RequestAccessAsync : Accounts.ACAccountType -> System.Threading.Tasks.Task<bool * Foundation.NSError>
override this.RequestAccessAsync : Accounts.ACAccountType -> System.Threading.Tasks.Task<bool * Foundation.NSError>

Parametri

accountType
ACAccountType

Tipo di account per il quale viene richiesto l'accesso.

Restituisce

Attività che rappresenta l'operazione RequestAccess asincrona. Il valore del parametro TResult è un Account.ACRequestCompletionHandler.

Attributi

Si applica a

RequestAccessAsync(ACAccountType, AccountStoreOptions)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError>> RequestAccessAsync (Accounts.ACAccountType accountType, Accounts.AccountStoreOptions options);
member this.RequestAccessAsync : Accounts.ACAccountType * Accounts.AccountStoreOptions -> System.Threading.Tasks.Task<bool * Foundation.NSError>

Parametri

accountType
ACAccountType

Restituisce

Attributi

Si applica a

RequestAccessAsync(ACAccountType, NSDictionary)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
protected virtual System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError>> RequestAccessAsync (Accounts.ACAccountType accountType, Foundation.NSDictionary options);
abstract member RequestAccessAsync : Accounts.ACAccountType * Foundation.NSDictionary -> System.Threading.Tasks.Task<bool * Foundation.NSError>
override this.RequestAccessAsync : Accounts.ACAccountType * Foundation.NSDictionary -> System.Threading.Tasks.Task<bool * Foundation.NSError>

Parametri

accountType
ACAccountType
options
NSDictionary

Restituisce

Attributi

Si applica a