FaultContractInfo Class
TOC
Collapse the table of content
Expand the table of content

FaultContractInfo Class

 

Represents information about a SOAP fault that is specified in a FaultContractAttribute attribute.

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

System.Object
  System.ServiceModel.Dispatcher.FaultContractInfo

public class FaultContractInfo

NameDescription
System_CAPS_pubmethodFaultContractInfo(String, Type)

Initializes a new instance of the FaultContractInfo class that uses the specified action and detail type.

NameDescription
System_CAPS_pubpropertyAction

Gets the SOAP fault action value.

System_CAPS_pubpropertyDetail

The type of the object that is serialized as the SOAP fault detail.

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_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.)

You can get a collection of FaultContractInfo objects by accessing the ClientOperation.FaultContractInfos and DispatchOperation.FaultContractInfos properties. The FaultContractInfo class exposes the action of the SOAP fault and the detail type that is serialized into the SOAP fault.

.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:
© 2016 Microsoft