IDataCollectorConfigurationEditor.Initialize Method
Initializes the configuration editor with a service provider and the configuration settings for a diagnostic data adapter.
Namespace: Microsoft.VisualStudio.TestTools.Execution
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Sub Initialize ( _
serviceProvider As IServiceProvider, _
settings As DataCollectorSettings _
)
void Initialize(
IServiceProvider serviceProvider,
DataCollectorSettings settings
)
void Initialize(
IServiceProvider^ serviceProvider,
DataCollectorSettings^ settings
)
abstract Initialize :
serviceProvider:IServiceProvider *
settings:DataCollectorSettings -> unit
function Initialize(
serviceProvider : IServiceProvider,
settings : DataCollectorSettings
)
Parameters
- serviceProvider
Type: System.IServiceProvider
An IServiceProvider that allows the consumer to query the parent for any services that it may provide.
- settings
Type: Microsoft.VisualStudio.TestTools.Execution.DataCollectorSettings
A DataCollectorSettings object that has the current settings of the diagnostic data adapter.
.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
IDataCollectorConfigurationEditor Interface
Microsoft.VisualStudio.TestTools.Execution Namespace
IDataCollector