共用方式為


ACAccountStore.RenewCredentialsAsync(ACAccount) 方法

定義

如果認證變成無效,則嘗試更新認證。

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

參數

account
ACAccount

其認證需要更新的帳戶。

傳回

表示非同步 RenewCredentials 作業的工作。 TResult 參數的值的類型為 System.Action < Accounts.ACAccountCredentialRenewResult,Foundation.NSError > 。

屬性

適用於