JavascriptCallbackResponseMessageProperty.StatusCode Property

.NET Framework (current version)

Gets or sets the HTTP status code.

Namespace:   System.ServiceModel.Channels
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

public Nullable<HttpStatusCode> StatusCode { get; set; }

Property Value

Type: System.Nullable<HttpStatusCode>

The HTTP status code.

The HTTP status code, if not equal to 200, is appended as a second parameter in the JavaScript response.

.NET Framework
Available since 4.0
Return to top