Show / Hide Table of Contents

Method CreateDefaultAsync

CreateDefaultAsync(String)

Creates a default CredentialPersistence object for the current platform asynchronously.

Declaration
public static Task<CredentialPersistence> CreateDefaultAsync(string persistenceId = null)
Parameters
Type Name Description
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
.NET Standard 2.0100.9 - 100.14
.NET 6.0100.13 - 100.14
.NET 6.0 Windows100.13 - 100.14
.NET Framework100.9 - 100.14
.NET 5100.10 - 100.12
.NET Core 3.1100.9 - 100.12
Xamarin.Android100.9 - 100.14
Xamarin.iOS100.9 - 100.14
UWP100.9 - 100.14
In This Article
Back to top Copyright © 2021 Esri.