TestElement.ErrorMessageForNonRunnable 屬性

取得當測試項目無法執行時,要使用的錯誤訊息。

命名空間:  Microsoft.VisualStudio.TestTools.Common
組件:  Microsoft.VisualStudio.QualityTools.Common (在 Microsoft.VisualStudio.QualityTools.Common.dll 中)

語法

'宣告
<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

屬性值

型別:System.String
當測試項目無法執行時,要使用的錯誤訊息。

實作

ITestElement.ErrorMessageForNonRunnable

.NET Framework 安全性

請參閱

參考

TestElement 類別

Microsoft.VisualStudio.TestTools.Common 命名空間