Sdílet prostřednictvím


TestElement.ErrorMessageForNonRunnable Property

Definition

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

public:
 property System::String ^ ErrorMessageForNonRunnable { System::String ^ get(); };
[Microsoft.VisualStudio.TestTools.Common.GroupingProperty]
[Microsoft.VisualStudio.TestTools.Common.LocalizedDescription(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "TestElement_ErrorMessageForNonRunnable_PropertyDescription")]
[Microsoft.VisualStudio.TestTools.Common.PropertyWindow]
[Microsoft.VisualStudio.TestTools.Common.TestCaseManagementDisplayName(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "TestElement_ErrorMessageForNonRunnable")]
[Microsoft.VisualStudio.TestTools.Common.VisibleProperty]
public string ErrorMessageForNonRunnable { get; }
[<Microsoft.VisualStudio.TestTools.Common.GroupingProperty>]
[<Microsoft.VisualStudio.TestTools.Common.LocalizedDescription(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "TestElement_ErrorMessageForNonRunnable_PropertyDescription")>]
[<Microsoft.VisualStudio.TestTools.Common.PropertyWindow>]
[<Microsoft.VisualStudio.TestTools.Common.TestCaseManagementDisplayName(typeof(Microsoft.VisualStudio.TestTools.Resources.UIResources), "TestElement_ErrorMessageForNonRunnable")>]
[<Microsoft.VisualStudio.TestTools.Common.VisibleProperty>]
member this.ErrorMessageForNonRunnable : string
Public ReadOnly Property ErrorMessageForNonRunnable As String

Property Value

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

Implements

Attributes

Applies to