Bewerken

Delen via


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
FaultContractInfo

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)

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

Properties

Action

Gets the SOAP fault action value.

Detail

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

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also