Share via


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>

方法完成时要调用的处理程序。

属性

适用于