FaultContractInfo FaultContractInfo FaultContractInfo FaultContractInfo Class

Definition

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
Inheritance
FaultContractInfoFaultContractInfoFaultContractInfoFaultContractInfo

Remarks

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.

Constructors

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.

Properties

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.

Methods

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