TestCaseEndEventArgs.TestOutcome 屬性
取得或設定測試的 TestOutcome。
命名空間: Microsoft.VisualStudio.TestTools.Execution
組件: Microsoft.VisualStudio.QualityTools.ExecutionCommon (在 Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 中)
語法
'宣告
Public Property TestOutcome As TestOutcome
public TestOutcome TestOutcome { get; private set; }
public:
property TestOutcome TestOutcome {
TestOutcome get ();
private: void set (TestOutcome value);
}
member TestOutcome : TestOutcome with get, private set
function get TestOutcome () : TestOutcome
private function set TestOutcome (value : TestOutcome)
屬性值
型別:Microsoft.VisualStudio.TestTools.Common.TestOutcome
測試的結果。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。