FaultReason Constructor (IEnumerable(FaultReasonText))
Collapse the table of content
Expand the table of content

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.

Namespace:  System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

'Declaration
Public Sub New ( _
	translations As IEnumerable(Of FaultReasonText) _
)

Parameters

translations
Type: System.Collections.Generic.IEnumerable(Of FaultReasonText)
A list of FaultReasonText objects; each object describes the fault in a specific language.

ExceptionCondition
ArgumentNullException

translations is Nothing.

ArgumentException

translations is empty or one or more items is Nothing.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft