Constructs a new exception object with the given message, exception number, the severity, the inner exception and the object's inserts.

C# | Visual Basic | Visual C++ | F# |
public NBMessageException( string message, long number, NBSeverity severity, Exception inner, params Object[] inserts )
Public Sub New ( _ message As String, _ number As Long, _ severity As NBSeverity, _ inner As Exception, _ ParamArray inserts As Object() _ )
public: NBMessageException( String^ message, long long number, NBSeverity severity, Exception^ inner, ... array<Object^>^ inserts )
new : message:string * number:int64 * severity:NBSeverity * inner:Exception * inserts:Object[] -> NBMessageException

- message (String)
- The error message that explains the reason for the exception.
- number (Int64)
- The exception number.
- severity (NBSeverity)
- The severity of the exception.
- inner (Exception)
- An instance of exception that describes the error that caused the current exception.
- inserts (array<Object>[]()[][])
- The exception inserts.