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 |
![]() | ![]() | (Inherited from ![]() |
![]() | Finalize | (Overrides ![]() |
![]() | FormattedMessage |
Formats the exception as a string using the catalog provided in the exception itself.
|
![]() | ![]() | When overridden in a derived class, returns the (Inherited from ![]() ![]() |
![]() | ![]() | Serves as a hash function for a particular type. (Inherited from ![]() |
![]() | 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 ![]() |
![]() | ![]() | Gets the runtime type of the current instance. (Inherited from ![]() |
![]() | ![]() | Creates a shallow copy of the current (Inherited from ![]() ![]() |
![]() | ![]() | Creates and returns a string representation of the current exception. (Inherited from ![]() |
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 ![]() |
![]() | File |
Gets or sets the file that generated the exception.
|
![]() | ![]() | Gets or sets a link to the help file associated with this exception. (Inherited from ![]() |
![]() | ![]() | Gets or sets HRESULT, a coded numerical value that is assigned to a specific exception. (Inherited from ![]() |
![]() | ![]() | Gets the (Inherited from ![]() ![]() |
![]() | 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.
|
![]() | ![]() | Gets a message that describes the current exception. (Inherited from ![]() |
![]() | 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 ![]() |
![]() | StackTrace |
Gets a string representation of the immediate frames on the call stack.
(Overrides ![]() |
![]() | StackTraceAsLastInsert |
Gets or sets a flag to request that the exception, when logged, contains the StackTrace as its last insert.
|
![]() | ![]() | Gets the method that throws the current exception. (Inherited from ![]() |
Events
Name | Description | |
---|---|---|
![]() | ![]() | Occurs when an exception is serialized to create an exception state object that contains serialized data about the exception. (Inherited from ![]() |
See Also