FaultReasonText Constructor (String)
Collapse the table of content
Expand the table of content

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.

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

public FaultReasonText(
	string text
)

Parameters

text
Type: System.String
The text that is the SOAP fault reason.

ExceptionCondition
ArgumentException

text is null.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft