RuleNotFoundException Constructor(ITestObject,Int32,String)
Initializes a new instance of the RuleNotFoundException class with the test object on which the run error occurred, a specified error message and an error code associated with this exception.

C# Syntax

public RuleNotFoundException( 
   ITestObject testObject,
   int errorCode,
   string message
)

Parameters

testObject
The test object on which the run error occurred.
errorCode
The error code associated with this exception.
message
The error message that explains the reason for the exception.