The NBException type exposes the following members.
Back to Top
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
NBException | Initializes a new instance of the NBException class |
Methods
Name | Description | |
---|---|---|
AddNestedException |
Adds a nested exception to the current exception.
| |
Dispose | Releases all resources used by the NBException | |
Dispose(Boolean) | Releases the unmanaged resources used by the NBException and optionally releases the managed resources | |
Equals | (Inherited from Object.) | |
Finalize | (Overrides Object Finalize .) | |
FormattedMessage |
Formats the exception as a string using the catalog provided in the exception itself.
| |
GetBaseException | When overridden in a derived class, returns the Exception that is the root cause of one or more subsequent exceptions. (Inherited from Exception.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetNestedExceptions |
Gets all the nested exceptions that belong to the current exception.
| |
GetObjectData |
Initializes a new instance of the Exception class with serialized data.
(Overrides Exception GetObjectData(SerializationInfo, StreamingContext).) | |
GetType | Gets the runtime type of the current instance. (Inherited from Exception.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Creates and returns a string representation of the current exception. (Inherited from Exception.) |
Properties
Name | Description | |
---|---|---|
Catalog |
Gets or sets The catalog that contains the exception message number.
| |
Data |
Gets a collection of key/value pairs that provide additional user-defined information about the exception.
(Overrides Exception Data.) | |
File |
Gets or sets the file that generated the exception.
| |
HelpLink | Gets or sets a link to the help file associated with this exception. (Inherited from Exception.) | |
HResult | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from Exception.) | |
InnerException | Gets the Exception instance that caused the current exception. (Inherited from Exception.) | |
Label |
Gets or sets the label of the component or class that originated the exception.
| |
Line |
Gets or sets the line in the file where the exception was generated.
| |
Message | Gets a message that describes the current exception. (Inherited from Exception.) | |
MessageAsFirstInsert |
Gets or sets a flag to request that the exception, when logged, contains the Message as the first insert.
| |
Method |
Gets or sets the name of the method which throws the exception.
| |
Name |
Gets or sets the name of the component or class that originated the exception.
| |
Number |
Gets or sets the Error number.
| |
Severity |
Gets or sets the severity of the exception.
| |
Source |
Gets or sets the message source of the message in the exception.
(Overrides Exception Source.) | |
StackTrace |
Gets a string representation of the immediate frames on the call stack.
(Overrides Exception StackTrace.) | |
StackTraceAsLastInsert |
Gets or sets a flag to request that the exception, when logged, contains the StackTrace as its last insert.
| |
TargetSite | Gets the method that throws the current exception. (Inherited from Exception.) |
Events
Name | Description | |
---|---|---|
SerializeObjectState | Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Inherited from Exception.) |
See Also