Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
A context interface definition for a test context that is passed to a method during the test run process.
Namespace: Microsoft.VisualStudio.TestTools.Execution
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Public Interface ITestContext
public interface ITestContext
public interface class ITestContext
type ITestContext = interface end
public interface ITestContext
The ITestContext type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
![]() |
Properties | Gets the properties for this test context. |
![]() |
ResultSink | Gets the result sink for this test context, which contains the pass or fail result of the test. |
![]() |
RunContextVariables | Gets the run context variables. |
![]() |
TestContextVariables | Gets the test context variables. |
Top
.gif)