ErrorFieldProtectedException Constructor(ITestObject,String)
Initializes a new instance of the ErrorFieldProtectedException class with the test object on which the run error occurred and a specified error message.

C# Syntax

public ErrorFieldProtectedException( 
   ITestObject testObject,
   string message
)

Parameters

testObject
The test object on which the run error occurred.
message
The error message that explains the reason for the exception.