ProblemDetails.Type 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
識別問題類型的 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; }
[System.Text.Json.Serialization.JsonPropertyName("type")]
[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
[<System.Text.Json.Serialization.JsonPropertyName("type")>]
[<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
屬性值
- 屬性
-
Newtonsoft.Json.JsonPropertyAttribute JsonPropertyNameAttribute JsonIgnoreAttribute JsonPropertyOrderAttribute
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應