Share via


HttpResponseMessage.ReasonPhrase Property

Definition

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

public:
 property Platform::String ^ ReasonPhrase { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring ReasonPhrase();

void ReasonPhrase(winrt::hstring value);
public string ReasonPhrase { get; set; }
var string = httpResponseMessage.reasonPhrase;
httpResponseMessage.reasonPhrase = string;
Public Property ReasonPhrase As String

Property Value

String

Platform::String

winrt::hstring

The reason phrase sent by the server.

Applies to