InvalidVersionException Constructor(String,Exception)
Initializes a new instance of the InvalidVersionException class with a specified error message and a reference to the inner exception that is the cause of this exception.

C# Syntax

public InvalidVersionException( 
   string message,
   Exception exception


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