Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

FaultException.Code Property

Definition

Namespace:
System.ServiceModel
Assemblies:
System.ServiceModel.dll, System.ServiceModel.Primitives.dll
Assembly:
System.ServiceModel.Primitives.dll
Assembly:
System.ServiceModel.dll
Package:
System.ServiceModel.Primitives v10.0.652802
Source:
FaultException.cs
Source:
FaultException.cs
Source:
FaultException.cs

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 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


Feedback

Was this page helpful?