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

属性值

属性

适用于