ACAccountStore.RequestAccessAsync Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
RequestAccessAsync(ACAccountType) |
Solicita acceso a un tipo de cuenta social. |
RequestAccessAsync(ACAccountType, AccountStoreOptions) | |
RequestAccessAsync(ACAccountType, NSDictionary) |
RequestAccessAsync(ACAccountType)
Solicita acceso a un tipo de cuenta 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>
Parámetros
- accountType
- ACAccountType
Tipo de cuenta para la que se solicita acceso.
Devoluciones
Tarea que representa la operación RequestAccess asincrónica. El valor del parámetro TResult es accounts.ACRequestCompletionHandler.
- Atributos
Se aplica 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>
Parámetros
- accountType
- ACAccountType
- options
- AccountStoreOptions
Devoluciones
- Atributos
Se aplica 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>
Parámetros
- accountType
- ACAccountType
- options
- NSDictionary
Devoluciones
- Atributos