Share via


ErrorDetails Klasse

Definition

Stellt Informationen zu einem aufgetretenen Fehler bereit.

public ref class ErrorDetails sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ErrorDetails final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ErrorDetails
Public NotInheritable Class ErrorDetails
Vererbung
Object Platform::Object IInspectable ErrorDetails
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (eingeführt in v1.0)

Hinweise

Erstellt mit der CreateFromHResult Factory-Methode .

Eigenschaften

Description

Ruft eine Kurzbeschreibung des Fehlers ab.

HelpUri

Ruft die Adresse auf einer Hilfeseite zum Fehler ab.

LongDescription

Ruft eine detaillierte Beschreibung des Fehlers ab.

Methoden

CreateFromHResultAsync(Int32)

Erstellt asynchron ein ErrorDetails-Objekt basierend auf einem HRESULT-Fehlercode .

Gilt für: