編輯

共用方式為


ASCredentialIdentityStore.SaveCredentialIdentitiesAsync Method

Definition

Asynchronously saves (or replaces, if the store does not support incremental updates) the credentialIdentities to the store.

public virtual System.Threading.Tasks.Task<Tuple<bool,Foundation.NSError>> SaveCredentialIdentitiesAsync (AuthenticationServices.ASPasswordCredentialIdentity[] credentialIdentities);
abstract member SaveCredentialIdentitiesAsync : AuthenticationServices.ASPasswordCredentialIdentity[] -> System.Threading.Tasks.Task<bool * Foundation.NSError>
override this.SaveCredentialIdentitiesAsync : AuthenticationServices.ASPasswordCredentialIdentity[] -> System.Threading.Tasks.Task<bool * Foundation.NSError>

Parameters

credentialIdentities
ASPasswordCredentialIdentity[]

Returns

The first value will be true on success. The second value will be non-null on error.

Applies to