Edytuj

Udostępnij za pośrednictwem


ACAccountStore.RemoveAccountAsync(ACAccount) Method

Definition

Removes the specified account from the account store, and runs a completion handler after the operation is complete.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError>> RemoveAccountAsync (Accounts.ACAccount account);
abstract member RemoveAccountAsync : Accounts.ACAccount -> System.Threading.Tasks.Task<bool * Foundation.NSError>
override this.RemoveAccountAsync : Accounts.ACAccount -> System.Threading.Tasks.Task<bool * Foundation.NSError>

Parameters

account
ACAccount

The account to remove.

Returns

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

Attributes

Remarks

The RemoveAccountAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to