WebFaultException.StatusCode Property    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the HttpStatusCode associated with the fault.
public:
 property System::Net::HttpStatusCode StatusCode { System::Net::HttpStatusCode get(); };public System.Net.HttpStatusCode StatusCode { get; }member this.StatusCode : System.Net.HttpStatusCodePublic ReadOnly Property StatusCode As HttpStatusCodeProperty Value
The HTTP status code associated with the fault.