FaultDescription FaultDescription FaultDescription FaultDescription Class

Definition

Represents a SOAP fault.

public ref class FaultDescription
public class FaultDescription
type FaultDescription = class
Public Class FaultDescription
Inheritance
FaultDescriptionFaultDescriptionFaultDescriptionFaultDescription

Remarks

The FaultDescription class represents a SOAP fault in a service contract and is used to create a runtime when a Windows Communication Foundation (WCF) service or client application is started.

Constructors

FaultDescription(String) FaultDescription(String) FaultDescription(String) FaultDescription(String)

Initializes a new instance of the FaultDescription class using the specified action value.

Properties

Action Action Action Action

The value of the action in the SOAP fault message.

DetailType DetailType DetailType DetailType

The type of the SOAP fault detail.

HasProtectionLevel HasProtectionLevel HasProtectionLevel HasProtectionLevel

Gets a value that indicates whether the fault message has a protection level assigned.

Name Name Name Name

Gets or sets the name of the SOAP fault.

Namespace Namespace Namespace Namespace

Gets or sets the namespace of the SOAP fault.

ProtectionLevel ProtectionLevel ProtectionLevel ProtectionLevel

Specifies the level of protection the SOAP fault requires from the binding.

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)
ShouldSerializeProtectionLevel() ShouldSerializeProtectionLevel() ShouldSerializeProtectionLevel() ShouldSerializeProtectionLevel()

Returns a value that indicates whether the ProtectionLevel property has changed from its default value and should be serialized.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to