Bagikan melalui


TestElement.ErrorMessageForNonRunnable Property

Gets the error message to use if the test element is not runnable.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
<GroupingPropertyAttribute> _
<VisiblePropertyAttribute> _
<PropertyWindowAttribute> _
Public ReadOnly Property ErrorMessageForNonRunnable As String
[GroupingPropertyAttribute]
[VisiblePropertyAttribute]
[PropertyWindowAttribute]
public string ErrorMessageForNonRunnable { get; }
[GroupingPropertyAttribute]
[VisiblePropertyAttribute]
[PropertyWindowAttribute]
public:
virtual property String^ ErrorMessageForNonRunnable {
    String^ get () sealed;
}
[<GroupingPropertyAttribute>]
[<VisiblePropertyAttribute>]
[<PropertyWindowAttribute>]
abstract ErrorMessageForNonRunnable : string with get
[<GroupingPropertyAttribute>]
[<VisiblePropertyAttribute>]
[<PropertyWindowAttribute>]
override ErrorMessageForNonRunnable : string with get
final function get ErrorMessageForNonRunnable () : String

Property Value

Type: String
The error message to use if the test element is not runnable.

Implements

ITestElement.ErrorMessageForNonRunnable

.NET Framework Security

See Also

Reference

TestElement Class

Microsoft.VisualStudio.TestTools.Common Namespace