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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.