FaultReasonText Class

 

Represents the text of the reason of a SOAP fault.

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

System.Object
  System.ServiceModel.FaultReasonText

public class FaultReasonText

NameDescription
System_CAPS_pubmethodFaultReasonText(String)

Initializes a new instance of the FaultReasonText class that uses the specified fault text.

System_CAPS_pubmethodFaultReasonText(String, CultureInfo)

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

System_CAPS_pubmethodFaultReasonText(String, String)

Initializes a new instance of the FaultReasonText class.

NameDescription
System_CAPS_pubpropertyText

Gets the text of the SOAP fault reason.

System_CAPS_pubpropertyXmlLang

Gets the language of the SOAP fault reason.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodMatches(CultureInfo)

Returns a value that indicates whether the language of the description matches provided CultureInfo object.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Use the FaultReasonText class to specify the text of the SOAP fault reason.

Universal Windows Platform
Available since 8
.NET Framework
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: