JsonSourceGenerationOptionsAttribute Konstruktory
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Przeciążenia
JsonSourceGenerationOptionsAttribute() |
Inicjuje nowe wystąpienie klasy JsonSourceGenerationOptionsAttribute. |
JsonSourceGenerationOptionsAttribute(JsonSerializerDefaults) |
Tworzy nowe JsonSourceGenerationOptionsAttribute wystąpienie ze wstępnie zdefiniowanym zestawem opcji określonych przez określony JsonSerializerDefaultselement . |
JsonSourceGenerationOptionsAttribute()
Inicjuje nowe wystąpienie klasy JsonSourceGenerationOptionsAttribute.
public:
JsonSourceGenerationOptionsAttribute();
public JsonSourceGenerationOptionsAttribute ();
Public Sub New ()
Dotyczy
JsonSourceGenerationOptionsAttribute(JsonSerializerDefaults)
Tworzy nowe JsonSourceGenerationOptionsAttribute wystąpienie ze wstępnie zdefiniowanym zestawem opcji określonych przez określony JsonSerializerDefaultselement .
public:
JsonSourceGenerationOptionsAttribute(System::Text::Json::JsonSerializerDefaults defaults);
public JsonSourceGenerationOptionsAttribute (System.Text.Json.JsonSerializerDefaults defaults);
new System.Text.Json.Serialization.JsonSourceGenerationOptionsAttribute : System.Text.Json.JsonSerializerDefaults -> System.Text.Json.Serialization.JsonSourceGenerationOptionsAttribute
Public Sub New (defaults As JsonSerializerDefaults)
Parametry
- defaults
- JsonSerializerDefaults
Przyczyna JsonSerializerDefaults .
Wyjątki
Nazwa defaults
jest niepoprawna.