共用方式為


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 安全性

請參閱

參考

TestCaseEndEventArgs 類別

Microsoft.VisualStudio.TestTools.Execution 命名空間

TestOutcome