ServerFault Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Обратна връзка
https://aka.ms/ContentUserFeedback.
Очаквайте скоро: През цялата 2024 г. постепенно ще отстраняваме проблемите в GitHub като механизъм за обратна връзка за съдържание и ще го заменим с нова система за обратна връзка. За повече информация вижте:Подаване и преглед на обратна връзка за