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
)

Parameters

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