Constructs a new exception object with the given message, exception number and the severity.

C# | Visual Basic | Visual C++ | F# |
public NBCastException( string message, long number, NBSeverity severity )
Public Sub New ( _ message As String, _ number As Long, _ severity As NBSeverity _ )
public: NBCastException( String^ message, long long number, NBSeverity severity )
new : message:string * number:int64 * severity:NBSeverity -> NBCastException

- message (String)
- The error message that explains the reason for the exception.
- number (Int64)
- The exception number.
- severity (NBSeverity)
- The severity of the exception.