ErrObject Members
.NET Framework 2.0
The ErrObject module contains properties and procedures used to identify and handle run-time errors using the Err object.
The following tables list the members exposed by the ErrObject type.
| Name | Description | |
|---|---|---|
| Description | Returns or sets a String expression containing a descriptive string associated with an error. Read/write. |
| Erl | Returns an integer indicating the line number of the last executed statement. Read-only. |
| HelpContext | Returns or sets an Integer containing the context ID for a topic in a Help file. Read/write. |
| HelpFile | Returns or sets a String expression containing the fully qualified path to a Help file. Read/write. |
| LastDllError | Returns a system error code produced by a call to a dynamic-link library (DLL). Read-only. |
| Number | Returns or sets a numeric value specifying an error. Read/write. |
| Source | Returns or sets a String expression specifying the name of the object or application that originally generated the error. Read/write. |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Clear | Clears all property settings of the Err object. |
| Equals | Overloaded. Determines whether two Object instances are equal. (Inherited from Object.) |
| GetException | Returns the exception representing the error that occurred. |
| GetHashCode | 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.) |
| GetType | Gets the Type of the current instance. (Inherited from Object.) |
| Raise | Generates a run-time error; can be used instead of the Error statement. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (Inherited from Object.) |
| ToString | Returns a String that represents the current Object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |