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 Constructor (HttpStatusCode)
.NET Framework (current version)
Initializes a new instance of the WebFaultException class with the specified HttpStatusCode.
Assembly: System.ServiceModel.Web (in System.ServiceModel.Web.dll)
Parameters
- statusCode
-
Type:
System.Net::HttpStatusCode
The HTTP status code to return to the caller.
.NET Framework
Available since 4.0
Available since 4.0
Show: