Freigeben über


ProblemDetails.Extensions Eigenschaft

Definition

Ruft die IDictionary<TKey,TValue> für Erweiterungsmember ab.

Problemtypdefinitionen KÖNNEN das Problemdetails-Objekt um zusätzliche Member erweitern. Erweiterungsmember werden im selben Namespace wie andere Member eines Problemtyps angezeigt.

public:
 property System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ Extensions { System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ get(); };
[System.Text.Json.Serialization.JsonExtensionData]
public System.Collections.Generic.IDictionary<string,object?> Extensions { get; set; }
[Newtonsoft.Json.JsonExtensionData]
public System.Collections.Generic.IDictionary<string,object> Extensions { get; }
[System.Text.Json.Serialization.JsonExtensionData]
public System.Collections.Generic.IDictionary<string,object> Extensions { get; }
[System.Text.Json.Serialization.JsonExtensionData]
public System.Collections.Generic.IDictionary<string,object?> Extensions { get; }
[<System.Text.Json.Serialization.JsonExtensionData>]
member this.Extensions : System.Collections.Generic.IDictionary<string, obj> with get, set
[<Newtonsoft.Json.JsonExtensionData>]
member this.Extensions : System.Collections.Generic.IDictionary<string, obj>
[<System.Text.Json.Serialization.JsonExtensionData>]
member this.Extensions : System.Collections.Generic.IDictionary<string, obj>
Public Property Extensions As IDictionary(Of String, Object)
Public ReadOnly Property Extensions As IDictionary(Of String, Object)

Eigenschaftswert

Attribute
JsonExtensionDataAttribute Newtonsoft.Json.JsonExtensionDataAttribute

Hinweise

Das Roundtripverhalten für Extensions wird durch die Implementierung der Eingabe\Ausgabeformatierer bestimmt. Insbesondere können komplexe Typen oder Auflistungstypen bei Verwendung der integrierten JSON- oder XML-Formatierungsprogramme nicht zum ursprünglichen Typ roundtripen.

Gilt für: