ASCredentialIdentityStore.ReplaceCredentialIdentities 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
以存放區中指定的 newCredentialIdentities
取代現有的身分識別。 處理常式 completion
完成之後會呼叫處理常式。
[Foundation.Export("replaceCredentialIdentitiesWithIdentities:completion:")]
public virtual void ReplaceCredentialIdentities (AuthenticationServices.ASPasswordCredentialIdentity[] newCredentialIdentities, AuthenticationServices.ASCredentialIdentityStoreCompletionHandler completion);
abstract member ReplaceCredentialIdentities : AuthenticationServices.ASPasswordCredentialIdentity[] * AuthenticationServices.ASCredentialIdentityStoreCompletionHandler -> unit
override this.ReplaceCredentialIdentities : AuthenticationServices.ASPasswordCredentialIdentity[] * AuthenticationServices.ASCredentialIdentityStoreCompletionHandler -> unit
參數
- newCredentialIdentities
- ASPasswordCredentialIdentity[]
- completion
- ASCredentialIdentityStoreCompletionHandler
- 屬性