HttpResponseMessage.ReasonPhrase Property

Gets or sets the reason phrase which typically is sent by servers together with the status code.

Namespace:  System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

Syntax

'Declaration
Public Property ReasonPhrase As String 
    Get 
    Set
'Usage
Dim instance As HttpResponseMessage 
Dim value As String 

value = instance.ReasonPhrase

instance.ReasonPhrase = value
public string ReasonPhrase { get; set; }
public:
property String^ ReasonPhrase {
    String^ get ();
    void set (String^ value);
}
member ReasonPhrase : string with get, set
function get ReasonPhrase () : String 
function set ReasonPhrase (value : String)

Property Value

Type: System.String

See Also

Reference

HttpResponseMessage Class

System.Net.Http Namespace