MessageTypeNotSupportedException Constructor(String,Exception)
Initializes a new instance of the MessageTypeNotSupportedException class with a specified error message and a reference to the inner exception that is the cause of this exception.
C# Syntax
public MessageTypeNotSupportedException( 
   string message,
   Exception exception


The error message that explains the reason for the exception.
The exception that is the cause of the current exception.