共用方式為


TestResultErrorInfo.Message 屬性

取得或設定測試結果錯誤訊息文字。

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

語法

'宣告
Public Property Message As String
public string Message { get; set; }
public:
property String^ Message {
    String^ get ();
    void set (String^ value);
}
member Message : string with get, set
function get Message () : String
function set Message (value : String)

屬性值

型別:System.String
測試結果錯誤訊息文字。

.NET Framework 安全性

請參閱

參考

TestResultErrorInfo 類別

Microsoft.VisualStudio.TestTools.Common 命名空間