ACAccountStore.RequestAccessAsync Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
RequestAccessAsync(ACAccountType) |
Fordert Zugriff auf einen Typ von Social Media-Konten an. |
RequestAccessAsync(ACAccountType, AccountStoreOptions) | |
RequestAccessAsync(ACAccountType, NSDictionary) |
RequestAccessAsync(ACAccountType)
Fordert Zugriff auf einen Typ von Social Media-Konten an.
[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>
Parameter
- accountType
- ACAccountType
Der Typ des Kontos, für das der Zugriff angefordert wird.
Gibt zurück
Eine Aufgabe, die den asynchronen RequestAccess-Vorgang darstellt. Der Wert des TResult-Parameters ist ein Accounts.ACRequestCompletionHandler.
- Attribute
Gilt für:
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>
Parameter
- accountType
- ACAccountType
- options
- AccountStoreOptions
Gibt zurück
- Attribute
Gilt für:
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>
Parameter
- accountType
- ACAccountType
- options
- NSDictionary
Gibt zurück
- Attribute