Condividi tramite


WebProviderError Classe

Definizione

Rappresenta un errore da un provider di account 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
Ereditarietà
Object Platform::Object IInspectable WebProviderError
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows 10 (è stato introdotto in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (è stato introdotto in v1.0)

Commenti

Se si riceve questo errore, significa che Windows ha contattato il provider, ma il provider ha restituito un errore. Gli errori sono specifici dei singoli provider. Per informazioni sull'errore, consultare la documentazione del provider.

Costruttori

WebProviderError(UInt32, String)

Inizializza una nuova istanza della classe WebProviderError .

Proprietà

ErrorCode

Ottiene il codice di errore.

ErrorMessage

Ottiene il messaggio di errore.

Properties

Ottiene le proprietà dell'errore.

Si applica a

Vedi anche