HttpResponseMessage.StatusCode Eigenschaft

Definition

Ruft den Statuscode der HTTP-Antwort ab oder legt ihn fest.

public:
 property System::Net::HttpStatusCode StatusCode { System::Net::HttpStatusCode get(); void set(System::Net::HttpStatusCode value); };
public System.Net.HttpStatusCode StatusCode { get; set; }
member this.StatusCode : System.Net.HttpStatusCode with get, set
Public Property StatusCode As HttpStatusCode

Eigenschaftswert

Der Statuscode der HTTP-Antwort.

Gilt für: