IncomingWebResponseContext.StatusCode Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the status code of the incoming Web response.

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

Syntax

'Declaration
Public ReadOnly Property StatusCode As HttpStatusCode
public HttpStatusCode StatusCode { get; }

Property Value

Type: System.Net.HttpStatusCode
A HttpStatusCode instance that contains the status code of the incoming Web response.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.