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 |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| UWP | 100.15 |