KeyCredentialCreationOption 枚举

定义

表示用于创建密钥凭据的选项。

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
继承
KeyCredentialCreationOption
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

字段

FailIfExists 1

如果密钥凭据已存在,则失败。

ReplaceExisting 0

替换任何现有密钥凭据。

适用于