Megosztás a következőn keresztül:


WebProviderError Class

Definition

Represents an error from a web account provider.

public ref class WebProviderError sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Security.Authentication.Web.Core.IWebProviderErrorFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class WebProviderError final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Security.Authentication.Web.Core.IWebProviderErrorFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class WebProviderError final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Security.Authentication.Web.Core.IWebProviderErrorFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class WebProviderError
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Security.Authentication.Web.Core.IWebProviderErrorFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class WebProviderError
function WebProviderError(errorCode, errorMessage)
Public NotInheritable Class WebProviderError
Inheritance
Object Platform::Object IInspectable WebProviderError
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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)

Initializes a new instance of the WebProviderError class.

Properties

ErrorCode

Gets the error code.

ErrorMessage

Gets the error message.

Properties

Gets the error properties.

Applies to

See also