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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.