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
See Also
FormattedContentResult<T> Class
System.Web.Http.Results Namespace
Return to top