共用方式為


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

取代任何現有的金鑰認證。

適用於