FaultDescription Class

Definition

Represents a SOAP fault.

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

Продукт Версии
.NET Core 1.0, Core 1.1, 8 (package-provided)
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided)
UWP 10.0