Partilhar via


WebProviderError Classe

Definição

Representa um erro de um provedor de conta 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
Herança
Object Platform::Object IInspectable WebProviderError
Atributos

Requisitos do Windows

Família de dispositivos
Windows 10 (introduzida na 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduzida na v1.0)

Comentários

Se você receber esse erro, isso significa que o Windows fez contato com o provedor, mas o provedor retornou um erro. Os erros são específicos para provedores individuais. Para obter informações sobre o erro, consulte a documentação do provedor.

Construtores

WebProviderError(UInt32, String)

Inicializa uma nova instância da classe WebProviderError .

Propriedades

ErrorCode

Obtém o código de erro.

ErrorMessage

Obtém a mensagem de erro.

Properties

Obtém as propriedades de erro.

Aplica-se a

Confira também