HttpResponseMessageProperty.StatusDescription Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the description of the status code of the current HTTP response to which this property is attached.
public:
property System::String ^ StatusDescription { System::String ^ get(); void set(System::String ^ value); };
public string StatusDescription { get; set; }
member this.StatusDescription : string with get, set
Public Property StatusDescription As String
Property Value
Returns the StatusDescription to send for the HTTP response.
Examples
This shows how to get the description of the status code of the current HTTP response to which this property is attached:
string statusDescription =
responseProperty.StatusDescription;
Remarks
This property provides a user-friendly description of the returned status code.
Applies to
คำติชม
https://aka.ms/ContentUserFeedback
เร็วๆ นี้: ตลอดปี 2024 เราจะขจัดปัญหา GitHub เพื่อเป็นกลไกคำติชมสำหรับเนื้อหา และแทนที่ด้วยระบบคำติชมใหม่ สำหรับข้อมูลเพิ่มเติม ให้ดู:ส่งและดูข้อคิดเห็นสำหรับ