WebFaultException.StatusCode Property

Definition

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.HttpStatusCode
Public ReadOnly Property StatusCode As HttpStatusCode

Property Value

The HTTP status code associated with the fault.

Applies to