共用方式為


WebAuthenticationAddAccountStatus Enum

Definition

An enumeration that specifies the result of a web account provisioning operation.

public enum class WebAuthenticationAddAccountStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 983040)]
enum class WebAuthenticationAddAccountStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 983040)]
public enum WebAuthenticationAddAccountStatus
var value = Windows.Security.Authentication.Web.Core.WebAuthenticationAddAccountStatus.success
Public Enum WebAuthenticationAddAccountStatus
Inheritance
WebAuthenticationAddAccountStatus
Attributes

Windows requirements

Device family
Windows 11, version 24H2 (introduced in 10.0.26100.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v19.0)

Fields

Name Value Description
Success 0

The operation was successful.

Error 1

The operation failed.

NotSupportedByProvider 2

The operation is not supported by the provider.

ServiceConnectionError 3

The operation failed due to a service connection error.

ProviderError 4

The operation failed due to a provider error.

Applies to