ProblemDetails.Type 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
識別問題類型的 URI 參照。 此規範鼓勵在被移除引用時,提供可理解的問題類型文件,例如使用 HTML。 當該成員不存在時,其值被假設為「about:blank」;參見RFC 3986。
public:
property System::String ^ Type { System::String ^ get(); void set(System::String ^ value); };
[System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)]
[System.Text.Json.Serialization.JsonPropertyName("type")]
[System.Text.Json.Serialization.JsonPropertyOrder(-5)]
public string? Type { get; set; }
public string Type { get; set; }
[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="type")]
public string Type { get; set; }
[System.Text.Json.Serialization.JsonPropertyName("type")]
public string Type { get; set; }
[System.Text.Json.Serialization.JsonPropertyName("type")]
public string? Type { get; set; }
[<System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)>]
[<System.Text.Json.Serialization.JsonPropertyName("type")>]
[<System.Text.Json.Serialization.JsonPropertyOrder(-5)>]
member this.Type : string with get, set
member this.Type : string with get, set
[<Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="type")>]
member this.Type : string with get, set
[<System.Text.Json.Serialization.JsonPropertyName("type")>]
member this.Type : string with get, set
Public Property Type As String
屬性值
- 屬性
-
JsonIgnoreAttribute JsonPropertyNameAttribute JsonPropertyOrderAttribute Newtonsoft.Json.JsonPropertyAttribute