FaultContractAttribute 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 FaultContractAttribute class.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- detailType
- Type: System.Type
The serializable type that contains error information for the caller.
| Exception | Condition |
|---|---|
| ArgumentNullException | The detailType argument is null. |
Show: