FaultReason Constructor (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 FaultReason class using the specified text.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- text
- Type: System.String
A description of the reason the fault occurred.
| Exception | Condition |
|---|---|
| ArgumentNullException | text is Nothing. |
Show: