Share via


ACAccountStore.SaveAccountAsync(ACAccount) Method

Definition

Attempts to save an ACAccount to the Accounts database.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError?>> SaveAccountAsync(Accounts.ACAccount account);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member SaveAccountAsync : Accounts.ACAccount -> System.Threading.Tasks.Task<bool * Foundation.NSError>
override this.SaveAccountAsync : Accounts.ACAccount -> System.Threading.Tasks.Task<bool * Foundation.NSError>

Parameters

account
ACAccount

The account to be saved.

Returns

A task that represents the asynchronous SaveAccount operation. The value of the TResult parameter is a Accounts.ACAccountStoreSaveCompletionHandler.

Attributes

Applies to