UFT Pro (LeanFT) .NET SDK Reference, Version 14.00
InvalidAgentException Constructor(String,Exception)
The error message that explains the reason for the exception.
The exception that is the cause of the current exception.
Initializes a new instance of the InvalidAgentException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Syntax
public InvalidAgentException( 
   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.