ProblemDetails.Status 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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; }
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
Public Property Status As Nullable(Of Integer)
属性值
- 属性
-
Newtonsoft.Json.JsonPropertyAttribute JsonPropertyNameAttribute JsonIgnoreAttribute JsonPropertyOrderAttribute
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈