Delen via


KeyCredentialCreationOption Enum

Definition

Represents the options for creating key credentials.

public enum class KeyCredentialCreationOption
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class KeyCredentialCreationOption
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum KeyCredentialCreationOption
var value = Windows.Security.Credentials.KeyCredentialCreationOption.replaceExisting
Public Enum KeyCredentialCreationOption
Inheritance
KeyCredentialCreationOption
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
ReplaceExisting 0

Replace any existing key credentials.

FailIfExists 1

Fail if a key credential already exists.

Applies to