Düzenle

Aracılığıyla paylaş


ACAccountStore.RenewCredentialsAsync(ACAccount) Method

Definition

Attempts to renew credentials if they have become invalid.

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

Parameters

account
ACAccount

The account whose credentials require renewing.

Returns

A task that represents the asynchronous RenewCredentials operation. The value of the TResult parameter is of type System.Action<Accounts.ACAccountCredentialRenewResult,Foundation.NSError>.

Attributes

Applies to