Επεξεργασία

Κοινή χρήση μέσω


SoapFault Class

Definition

Carries error and status information within a SOAP message. This class cannot be inherited.

public ref class SoapFault sealed : System::Runtime::Serialization::ISerializable
[System.Runtime.Remoting.Metadata.SoapType(Embedded=true)]
[System.Serializable]
public sealed class SoapFault : System.Runtime.Serialization.ISerializable
[System.Runtime.Remoting.Metadata.SoapType(Embedded=true)]
[System.Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class SoapFault : System.Runtime.Serialization.ISerializable
[<System.Runtime.Remoting.Metadata.SoapType(Embedded=true)>]
[<System.Serializable>]
type SoapFault = class
    interface ISerializable
[<System.Runtime.Remoting.Metadata.SoapType(Embedded=true)>]
[<System.Serializable>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type SoapFault = class
    interface ISerializable
Public NotInheritable Class SoapFault
Implements ISerializable
Inheritance
SoapFault
Attributes
Implements

Constructors

SoapFault()

Initializes a new instance of the SoapFault class with default values.

SoapFault(String, String, String, ServerFault)

Initializes a new instance of the SoapFault class, setting the properties to specified values.

Properties

Detail

Gets or sets additional information required for the SoapFault.

FaultActor

Gets or sets the fault actor for the SoapFault.

FaultCode

Gets or sets the fault code for the SoapFault.

FaultString

Gets or sets the fault message for the SoapFault.

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)
GetObjectData(SerializationInfo, StreamingContext)

Populates the specified SerializationInfo with the data to serialize the SoapFault 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