WebFaultException<T>.StatusCode Property

.NET Framework (current version)
 

Gets the HttpStatusCode associated with the fault.

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

public HttpStatusCode StatusCode { get; private set; }

Property Value

Type: System.Net.HttpStatusCode

The HTTP status code associated with the fault.

.NET Framework
Available since 4.0
Return to top
Show: