FaultContractInfo FaultContractInfo FaultContractInfo FaultContractInfo Class


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

public ref class FaultContractInfo
public class FaultContractInfo
type FaultContractInfo = class
Public Class FaultContractInfo


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.


FaultContractInfo(String, Type) FaultContractInfo(String, Type) FaultContractInfo(String, Type) FaultContractInfo(String, Type)

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


Action Action Action Action

Gets the SOAP fault action value.

Detail Detail Detail Detail

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


Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also