TestExtensionExecution.Initialize Method
Before execution starts, this method is called to enable subscription to the Unit Test Events.
Namespace: Microsoft.VisualStudio.TestTools.UnitTesting
Assembly: Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
Syntax
'Declaration
Public MustOverride Sub Initialize ( _
execution As TestExecution _
)
public abstract void Initialize(
TestExecution execution
)
public:
virtual void Initialize(
TestExecution^ execution
) abstract
abstract Initialize :
execution:TestExecution -> unit
public abstract function Initialize(
execution : TestExecution
)
Parameters
execution
Type: Microsoft.VisualStudio.TestTools.UnitTesting.TestExecutionThe TestExecution.
Remarks
This method is called to enable the developer to obtain test execution information, and to subscribe to Unit Test events.
.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.