共用方式為


TestResult.DataCollectorMessages 屬性

取得測試期間診斷資料配接器所提供之錯誤和警告的唯讀清單。

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

語法

'宣告
Public Property DataCollectorMessages As IList(Of DataCollectorMessageInfo)
public IList<DataCollectorMessageInfo> DataCollectorMessages { get; internal set; }
public:
property IList<DataCollectorMessageInfo^>^ DataCollectorMessages {
    IList<DataCollectorMessageInfo^>^ get ();
    internal: void set (IList<DataCollectorMessageInfo^>^ value);
}
member DataCollectorMessages : IList<DataCollectorMessageInfo> with get, internal set
function get DataCollectorMessages () : IList<DataCollectorMessageInfo>
internal function set DataCollectorMessages (value : IList<DataCollectorMessageInfo>)

屬性值

型別:System.Collections.Generic.IList<DataCollectorMessageInfo>
測試期間診斷資料配接器所提供之訊息的清單。

.NET Framework 安全性

請參閱

參考

TestResult 類別

Microsoft.VisualStudio.TestTools.Common 命名空間

DataCollectorMessageInfo