ITestAdapter.Initialize Method
Called when test adapter is loaded to execute a test run.
Namespace: Microsoft.VisualStudio.TestTools.TestAdapter
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Sub Initialize ( _
runContext As IRunContext _
)
void Initialize(
IRunContext runContext
)
void Initialize(
IRunContext^ runContext
)
abstract Initialize :
runContext:IRunContext -> unit
function Initialize(
runContext : IRunContext
)
Parameters
runContext
Type: Microsoft.VisualStudio.TestTools.Execution.IRunContextThe context for this test run.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.