Editare

Partajați prin


HttpResponseMessageProperty.StatusDescription Property

Definition

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