Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebFaultException::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:
property HttpStatusCode StatusCode {
	virtual HttpStatusCode get() sealed;
	private: virtual void set(HttpStatusCode value) sealed;
}

Property Value

Type: System.Net::HttpStatusCode

The HTTP status code associated with the fault.

.NET Framework
Available since 4.0
Return to top
Show:
© 2017 Microsoft