共用方式為


TestContext.CurrentTestOutcome Property

Definition

Gets the current test outcome.

public:
 virtual property Microsoft::VisualStudio::TestTools::UnitTesting::UnitTestOutcome CurrentTestOutcome { Microsoft::VisualStudio::TestTools::UnitTesting::UnitTestOutcome get(); };
public virtual Microsoft.VisualStudio.TestTools.UnitTesting.UnitTestOutcome CurrentTestOutcome { get; }
member this.CurrentTestOutcome : Microsoft.VisualStudio.TestTools.UnitTesting.UnitTestOutcome
Public Overridable ReadOnly Property CurrentTestOutcome As UnitTestOutcome

Property Value

Applies to