Show / Hide Table of Contents

Method CreateDefaultAsync

CreateDefaultAsync(Nullable<String>)

Creates a default CredentialPersistence object for the current platform asynchronously.

Declaration
public static Task<CredentialPersistence> CreateDefaultAsync(string? persistenceId = null)
Parameters
Type Name Description
System.Nullable<String> persistenceId

An optional string that specifies a unique identifier for the persistence storage instance.

Returns
Type Description
Task<CredentialPersistence>

A task which creates a new CredentialPersistence object for the current platform. If the current platform is not supported, the task will instead return null.

Applies to

Platforms and versions
TargetVersions
UWP100.15
In This Article
Back to top Copyright © 2022 Esri.