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
'Usage
Dim instance As TestElement
Dim value As String
value = instance.ErrorMessageForNonRunnable
[GroupingPropertyAttribute]
[VisiblePropertyAttribute]
[PropertyWindowAttribute]
public string ErrorMessageForNonRunnable { get; }
[GroupingPropertyAttribute]
[VisiblePropertyAttribute]
[PropertyWindowAttribute]
public:
virtual property String^ ErrorMessageForNonRunnable {
String^ get () sealed;
}
public final function get ErrorMessageForNonRunnable () : String
Property Value
Type: System.String
The error message to use if the test element is not runnable.
Implements
ITestElement.ErrorMessageForNonRunnable
.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.