WebProviderError WebProviderError WebProviderError WebProviderError Class

Definition

Represents an error from a web account provider.

public : sealed class WebProviderError : IWebProviderErrorpublic sealed class WebProviderError : IWebProviderErrorPublic NotInheritable Class WebProviderError Implements IWebProviderError// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

If you receive this error, it means Windows made contact with the provider, but the provider returned an error. Errors are specific to individual providers. For information on the error, consult the provider's documentation.

Constructors

WebProviderError(UInt32, String) WebProviderError(UInt32, String) WebProviderError(UInt32, String) WebProviderError(UInt32, String)

Initializes a new instance of the WebProviderError class.

public : WebProviderError(unsigned int errorCode, PlatForm::String errorMessage)public WebProviderError(UInt32 errorCode, String errorMessage)Public Sub New(errorCode As UInt32, errorMessage As String)// You can use this method in JavaScript.
Parameters
errorCode
unsigned int UInt32 UInt32 UInt32

The error code.

errorMessage
PlatForm::String String String String

The error message.

See Also

Properties

ErrorCode ErrorCode ErrorCode ErrorCode

Gets the error code.

public : unsigned int ErrorCode { get; }public uint ErrorCode { get; }Public ReadOnly Property ErrorCode As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The error code.

See Also

ErrorMessage ErrorMessage ErrorMessage ErrorMessage

Gets the error message.

public : PlatForm::String ErrorMessage { get; }public string ErrorMessage { get; }Public ReadOnly Property ErrorMessage As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The error message.

See Also

Properties Properties Properties Properties

Gets the error properties.

public : IMap<string, string> Properties { get; }public IDictionary<string, string> Properties { get; }Public ReadOnly Property Properties As IDictionary<string, string>// You can use this property in JavaScript.
Value
IMap<PlatForm::String, PlatForm::String> IDictionary<string, string> IDictionary<string, string> IDictionary<string, string>

The error properties.

See Also

See Also