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

See Also

Reference

ValidationAction Class

Microsoft.VisualStudio.TestTools.UITest.Common Namespace