MiddlewareException Constructor(String,MiddlewareExceptionType,Exception)
- Last UpdatedNov 06, 2025
- 1 minute read
Constructor which creates a MiddlewareException of the MiddlewareException type passed in
'Declaration
Public Function New( _
ByVal message As String, _
ByVal exType As MiddlewareExceptionType, _
ByVal innerEx As Exception _
)
'Usage
Dim message As String
Dim exType As MiddlewareExceptionType
Dim innerEx As Exception
Dim instance As New MiddlewareException(message, exType, innerEx)
Parameters
- message
- The Exception message
- exType
- The specialized type of the Exception
- innerEx
- An inner Exception this Exception wraps. The innerException is converted to a MiddlewareException object (for serialization reasons)