Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ServerFault Class

 

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

Namespace:   System.Runtime.Serialization.Formatters
Assembly:  mscorlib (in mscorlib.dll)

System::Object
  System.Runtime.Serialization.Formatters::ServerFault

[SerializableAttribute]
[SoapTypeAttribute(Embedded = true)]
[ComVisibleAttribute(true)]
public ref class ServerFault sealed 

NameDescription
System_CAPS_pubmethodServerFault(String^, String^, String^)

Initializes a new instance of the ServerFault class.

NameDescription
System_CAPS_pubpropertyExceptionMessage

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

System_CAPS_pubpropertyExceptionType

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

System_CAPS_pubpropertyStackTrace

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

NameDescription
System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

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.

.NET Framework
Available since 1.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2017 Microsoft