FaultException<TDetail> Constructor
[ 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<TDetail> class that uses a specified detail object and SOAP fault reason, code and action values.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- detail
- Type: TDetail
The object used as the SOAP fault detail.
- 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 of the SOAP fault.
Show: