FaultReason Constructor (IEnumerable(Of 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 list of fault translations.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
Parameters
- translations
- Type: System.Collections.Generic.IEnumerable(Of FaultReasonText)
A list of FaultReasonText objects; each object describes the fault in a specific language.
| Exception | Condition |
|---|---|
| ArgumentNullException | translations is Nothing. |
| ArgumentException | translations is empty or one or more items is Nothing. |
Show: