HttpResponseMessageProperty.StatusDescription プロパティ

定義

このプロパティがアタッチされている現在の HTTP 応答の状態コードの説明を取得または設定します。

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

プロパティ値

HTTP 応答に対して送信する StatusDescription を返します。

このプロパティがアタッチされている現在の HTTP 応答の状態コードの説明を取得する方法を次に示します。

string statusDescription =
responseProperty.StatusDescription;

注釈

このプロパティは、返された状態コードのわかりやすい説明を提供します。

適用対象