InvalidMessageFieldException Constructor(String)
Initializes a new instance of the InvalidMessageFieldException class with a specified error message.
C# Syntax
public InvalidMessageFieldException( 
   string message
)

Parameters

message
The error message that explains the reason for the exception.