FaultException Constructor (FaultReason, FaultCode, String)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the FaultException class using the specified reason, fault code, and action value.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- reason
- Type: System.ServiceModel.FaultReason
The reason for the SOAP fault.
- code
- Type: System.ServiceModel.FaultCode
The fault code for the SOAP fault.
- action
- Type: System.String
The action value for the SOAP fault.
Show: