FaultReason Constructor (FaultReasonText)
[ 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 element that describes the fault in a specific language.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- translation
- Type: System.ServiceModel.FaultReasonText
An array of FaultReasonText objects that correspond to fault descriptions in different languages.
| Exception | Condition |
|---|---|
| ArgumentNullException | translation is Nothing. |
Show: