Share via


KeyCredentialStatus Enum

Definition

Represents the status of a key credential request.

public enum class KeyCredentialStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class KeyCredentialStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum KeyCredentialStatus
var value = Windows.Security.Credentials.KeyCredentialStatus.success
Public Enum KeyCredentialStatus
Inheritance
KeyCredentialStatus
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

CredentialAlreadyExists 5

The credential already exists.

NotFound 2

The credential could not be found.

SecurityDeviceLocked 6

The security device was locked.

Success 0

The operation was successful.

UnknownError 1

An unknown error occurred.

UserCanceled 3

The request was cancelled by the user.

UserPrefersPassword 4

The user prefers to enter a password.

Applies to