IRunConfigurationEditor.Initialize Method
Initializes this configuration editor by using objects from the testing framework.
Namespace: Microsoft.VisualStudio.TestTools.Vsip
Assembly: Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)
Syntax
'宣告
Sub Initialize ( _
serviceProvider As IServiceProvider, _
run As TestRun _
)
void Initialize(
IServiceProvider serviceProvider,
TestRun run
)
void Initialize(
IServiceProvider^ serviceProvider,
TestRun^ run
)
abstract Initialize :
serviceProvider:IServiceProvider *
run:TestRun -> unit
function Initialize(
serviceProvider : IServiceProvider,
run : TestRun
)
Parameters
- serviceProvider
Type: System.IServiceProvider
An Microsoft.VisualStudio.OLE.Interop.IServiceProvider object that is the interface with the testing framework.
- run
Type: Microsoft.VisualStudio.TestTools.Common.TestRun
The TestRun object to be configured.
.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.
See Also
Reference
IRunConfigurationEditor Interface