Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

FaultReasonText Constructor (String, CultureInfo)

Initializes a new instance of the FaultReasonText class that uses the specified SOAP fault text and the specified CultureInfo object.

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

public FaultReasonText(
	string text,
	CultureInfo cultureInfo
)

Parameters

text
Type: System.String

The text that is the reason of the SOAP fault.

cultureInfo
Type: System.Globalization.CultureInfo

The CultureInfo describing the language of the description.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft