Editar

Compartilhar via


FaultDescription Class

Definition

Represents a SOAP fault.

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

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)

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

Properties

Action

The value of the action in the SOAP fault message.

DetailType

The type of the SOAP fault detail.

HasProtectionLevel

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

Name

Gets or sets the name of the SOAP fault.

Namespace

Gets or sets the namespace of the SOAP fault.

ProtectionLevel

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

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

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

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to