TestResultMessage 建構函式 (TestResultMessage)

這個 API 支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。

使用提供的測試結果訊息,初始化 TestResultMessage 類別的新執行個體。

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

語法

'宣告
Protected Sub New ( _
    copy As TestResultMessage _
)
protected TestResultMessage(
    TestResultMessage copy
)
protected:
TestResultMessage(
    TestResultMessage^ copy
)
new : 
        copy:TestResultMessage -> TestResultMessage
protected function TestResultMessage(
    copy : TestResultMessage
)

參數

備註

Clone 屬性會使用這個方法。

.NET Framework 安全性

請參閱

參考

TestResultMessage 類別

TestResultMessage 多載

Microsoft.VisualStudio.TestTools.Common 命名空間

Clone