FaultException.Code Property

Definition

Gets the fault code for the SOAP fault.

public:
 property System::ServiceModel::FaultCode ^ Code { System::ServiceModel::FaultCode ^ get(); };
public System.ServiceModel.FaultCode Code { get; }
member this.Code : System.ServiceModel.FaultCode
Public ReadOnly Property Code As FaultCode

Property Value

The fault code for the SOAP fault.

Applies to