Share via


UITestControlNotFoundException.DefaultMessage Property

Gets the configured default error message for this kind of exception.

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

Syntax

'Declaration
Protected Overrides ReadOnly Property DefaultMessage As String
protected override string DefaultMessage { get; }
protected:
virtual property String^ DefaultMessage {
    String^ get () override;
}
abstract DefaultMessage : string
override DefaultMessage : string
override function get DefaultMessage () : String

Property Value

Type: System.String
The default error message.

.NET Framework Security

See Also

Reference

UITestControlNotFoundException Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace