共用方式為


ACAccountStore.RenewCredentials 方法

定義

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

[Foundation.Export("renewCredentialsForAccount:completion:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 6, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RenewCredentials (Accounts.ACAccount account, Action<Accounts.ACAccountCredentialRenewResult,Foundation.NSError> completionHandler);
abstract member RenewCredentials : Accounts.ACAccount * Action<Accounts.ACAccountCredentialRenewResult, Foundation.NSError> -> unit
override this.RenewCredentials : Accounts.ACAccount * Action<Accounts.ACAccountCredentialRenewResult, Foundation.NSError> -> unit

參數

account
ACAccount

其認證需要更新的帳戶。

completionHandler
Action<ACAccountCredentialRenewResult,NSError>

方法完成時要呼叫的處理常式。

屬性

適用於