FaultReasonText 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 FaultReasonText class that uses a specified fault text.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- text
- Type: System.String
The text that is the SOAP fault reason.
| Exception | Condition |
|---|---|
| ArgumentException | text is null. |
Show: