ACAccountStore.RenewCredentialsAsync(ACAccount) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
如果認證變成無效,則嘗試更新認證。
[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 > 。
- 屬性