WebProviderError 类

定义

表示来自 Web 帐户提供程序的错误。

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
继承
Object Platform::Object IInspectable WebProviderError
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

注解

如果收到此错误,则表示 Windows 与提供程序联系,但提供程序返回错误。 错误特定于单个提供程序。 有关错误的信息,请参阅提供程序的文档。

构造函数

WebProviderError(UInt32, String)

初始化 WebProviderError 类的新实例。

属性

ErrorCode

获取错误代码。

ErrorMessage

获取错误消息。

Properties

获取错误属性。

适用于

另请参阅