Edit

Share via


ServerFault Class

Definition

Contains information for a server fault. This class cannot be inherited.

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

Remarks

The ServerFault object is used to hold information about an exception that was thrown on the server to the client. The ServerFault is transmitted in SOAP format.

Constructors

ServerFault(String, String, String)

Initializes a new instance of the ServerFault class.

Properties

ExceptionMessage

Gets or sets the exception message that accompanied the exception thrown on the server.

ExceptionType

Gets or sets the type of exception that was thrown by the server.

StackTrace

Gets or sets the stack trace of the thread that threw the exception on the server.

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