 | ValidateFail Method (String, ValidateOptions) |
Always lets the validation fail.
Namespace:
Ranorex
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static bool Fail(
string message,
ValidateOptions options
)
Public Shared Function Fail (
message As String,
options As ValidateOptions
) As Boolean
Parameters
- message
- Type: SystemString
The message to log. - options
- Type: RanorexValidateOptions
Additional ValidateOptions for this validation action.
Return Value
Type:
BooleanAlways returns
false (unless a
ValidationException is thrown
depending on the passed
options).
Exceptions
See Also