Share via


ProblemDetails.Type 屬性

定義

識別問題類型的 URI 參考 [RFC3986]。 此規格鼓勵在取值時,它會為問題類型提供人類可閱讀的檔 (,例如使用 HTML [W3C]。REC-html5-20141028]) 。 當這個成員不存在時,其值會假設為 「about:blank」。

public:
 property System::String ^ Type { System::String ^ get(); void set(System::String ^ value); };
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.JsonPropertyOrder(-5)]
public string? Type { 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
[<System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)>]
[<System.Text.Json.Serialization.JsonPropertyOrder(-5)>]
member this.Type : string with get, set
Public Property Type As String

屬性值

屬性

適用於