Represents a single exception that has occurred on the server.
Top
Top
Top
Top
Top
Top
When the server returns an exception to the client it converts each chained exception into an
object and places it in an error stack (
).
The following tables list the members exposed by ErrorRecord.
Public Constructors
Name | Description | |
---|---|---|
![]() ![]() | ErrorRecord | Overloaded. |
Protected Constructors
Name | Description | |
---|---|---|
![]() ![]() | ErrorRecord | Overloaded. |
Public Fields
Name | Description | |
---|---|---|
![]() ![]() | DIAGNOSTIC_EXCEPTION_CODE | When the exception is an instance, this field identifies the exception code. This field is used by |
![]() ![]() | DIAGNOSTIC_STACK_TRACE | Identifies the stack trace information for the exception. This field is used by |
Public Methods
Name | Description | |
---|---|---|
![]() | Equals | Determines whether the specified |
![]() | GetDescription | Gets the description string for the exception. |
![]() | GetDiagnosticTypes | Returns the key and associated value describing the specific details required to troubleshoot the exception. For an , this generally includes the specific exception code and stack trace of where the problem occurred. |
![]() | GetHashCode | Serves as a hash function for a particular type. |
![]() | GetObjectData | This method is exposed to satisfy the interface. |
![]() | GetSource | Gets the name of the exception instance that occurred. |
![]() | GetType | Gets the |
![]() | ToString | Overridden. Returns a description of the exception. The result is the concatenation of the following:
|
Protected Methods
Name | Description | |
---|---|---|
![]() | Finalize | Allows an |
![]() | MemberwiseClone | Creates a shallow copy of the current |
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() | ErrorRecord | Overloaded. |