Share via


CKContainer.GetAccountStatusAsync Method

Definition

Retrieves the current user's CKAccountStatus.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<CloudKit.CKAccountStatus> GetAccountStatusAsync();
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetAccountStatusAsync : unit -> System.Threading.Tasks.Task<CloudKit.CKAccountStatus>
override this.GetAccountStatusAsync : unit -> System.Threading.Tasks.Task<CloudKit.CKAccountStatus>

Returns

A task that represents the asynchronous GetAccountStatus operation. The value of the TResult parameter is of type System.Action<CloudKit.CKAccountStatus,Foundation.NSError>.

Attributes

Applies to