Click or drag to resize
Ranorex

ValidateIsFalse Method (Boolean, String, ValidateOptions)

Validates if the given condition is false.

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public static bool IsFalse(
	bool condition,
	string message,
	ValidateOptions options
)

Parameters

condition
Type: SystemBoolean
The condition to validate.
message
Type: SystemString
The message to log.
options
Type: RanorexValidateOptions
Additional ValidateOptions for this validation action.

Return Value

Type: Boolean
true if the specified condition is false; otherwise, false.
Exceptions
ExceptionCondition
ValidationExceptionIf the validation fails and options.ExceptionOnFail is true.
See Also