Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ValidationFailedException Constructor (String, String, String, String, String, String, Exception)

Initializes a new instance of the ValidationFailedException class by using the provided action name, condition, property name, friendly name, expected value, actual value, and inner exception.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

public ValidationFailedException(
	string actionName,
	string condition,
	string propertyName,
	string friendlyName,
	string expectedValue,
	string actualValue,
	Exception innerException
)

Parameters

actionName
Type: System.String
The name of the action where the error occurred.
condition
Type: System.String
An indication of assert condition.
propertyName
Type: System.String
The name of the property.
friendlyName
Type: System.String
A friendly name for the control.
expectedValue
Type: System.String
The expected value of the property.
actualValue
Type: System.String
The actual value of the property.
innerException
Type: System.Exception
The inner exception that caused this exception.

Community Additions

ADD
Show:
© 2015 Microsoft