다음을 통해 공유


ACAccountStore.RequestAccessAsync 메서드

정의

오버로드

RequestAccessAsync(ACAccountType)

소셜 계정 유형에 대한 액세스를 요청합니다.

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

RequestAccessAsync(ACAccountType)

소셜 계정 유형에 대한 액세스를 요청합니다.

[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>

매개 변수

accountType
ACAccountType

액세스가 요청되는 계정 유형입니다.

반환

비동기 RequestAccess 작업을 나타내는 작업입니다. TResult 매개 변수의 값은 Accounts.ACRequestCompletionHandler입니다.

특성

적용 대상

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>

매개 변수

accountType
ACAccountType

반환

특성

적용 대상

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>

매개 변수

accountType
ACAccountType
options
NSDictionary

반환

특성

적용 대상