共用方式為


ProblemDetails.Status 屬性

定義

來源伺服器針對此問題產生的 HTTP 狀態碼 ([RFC7231],第 6 節) 。

public:
 property Nullable<int> Status { Nullable<int> get(); void set(Nullable<int> value); };
public int? Status { get; set; }
[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="status")]
public int? Status { get; set; }
[System.Text.Json.Serialization.JsonPropertyName("status")]
public int? Status { get; set; }
[System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)]
[System.Text.Json.Serialization.JsonPropertyOrder(-3)]
public int? Status { get; set; }
[System.Text.Json.Serialization.JsonPropertyName("status")]
[System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)]
[System.Text.Json.Serialization.JsonPropertyOrder(-3)]
public int? Status { get; set; }
member this.Status : Nullable<int> with get, set
[<Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore, PropertyName="status")>]
member this.Status : Nullable<int> with get, set
[<System.Text.Json.Serialization.JsonPropertyName("status")>]
member this.Status : Nullable<int> with get, set
[<System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)>]
[<System.Text.Json.Serialization.JsonPropertyOrder(-3)>]
member this.Status : Nullable<int> with get, set
[<System.Text.Json.Serialization.JsonPropertyName("status")>]
[<System.Text.Json.Serialization.JsonIgnore(Condition=System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull)>]
[<System.Text.Json.Serialization.JsonPropertyOrder(-3)>]
member this.Status : Nullable<int> with get, set
Public Property Status As Nullable(Of Integer)

屬性值

屬性

適用於