共用方式為


DataCollectorExceptionMessageInfo.ElementName 屬性

取得保存訊息之測試項目的名稱。

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

語法

'宣告
Protected Overrides ReadOnly Property ElementName As String
protected override string ElementName { get; }
protected:
virtual property String^ ElementName {
    String^ get () override;
}
abstract ElementName : string with get
override ElementName : string with get
override function get ElementName () : String

屬性值

型別:System.String
保存訊息之測試項目的名稱。

.NET Framework 安全性

請參閱

參考

DataCollectorExceptionMessageInfo 類別

Microsoft.VisualStudio.TestTools.Common 命名空間