The ErrorRecord type exposes the following members.

ToggleMethods

Type NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetDescription
Gets the description string for the exception.
Public methodGetDiagnosticTypes
Returns the key and associated value describing the specific details required to troubleshoot the exception. For an EngineRuntimeException, this generally includes the specific exception code and stack trace of where the problem occurred.
Public methodGetHashCode
Serves as a hash function for a particular type. GetHashCode()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodGetObjectData
This method is exposed to satisfy the ISerializable interface.
Public methodGetSource
Gets the name of the exception instance that occurred.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a description of the exception. The result is the concatenation of the following:
  • The name of this exception's class.
  • The name of the exception code.
  • The localized error message.
  • The exception's error stack.
(Overrides Object..::.ToString()()().)

ToggleSee Also