Partager via


StatusCodeResult.StatusCode Property

 

Gets the HTTP status code for the response message.

Namespace:   System.Web.Http.Results
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

public HttpStatusCode StatusCode { get; }
public:
property HttpStatusCode StatusCode {
    HttpStatusCode get();
}
member StatusCode : HttpStatusCode with get
Public ReadOnly Property StatusCode As HttpStatusCode

Property Value

Type: System.Net.HttpStatusCode

The HTTP status code for the response message.

See Also

StatusCodeResult Class
System.Web.Http.Results Namespace

Return to top