ValidationAction.MessageOnValidationFailure Property
Gets or sets the message which will be displayed when the validation fails;
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Public Overridable Property MessageOnValidationFailure As String
public virtual string MessageOnValidationFailure { get; set; }
public:
virtual property String^ MessageOnValidationFailure {
String^ get ();
void set (String^ value);
}
abstract MessageOnValidationFailure : string with get, set
override MessageOnValidationFailure : string with get, set
function get MessageOnValidationFailure () : String
function set MessageOnValidationFailure (value : String)
Property Value
Type: String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.