Partager via


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: IServiceProvider

    An IServiceProvider that allows the consumer to query the parent for any services that it may provide.

.NET Framework Security

See Also

Reference

IDataCollectorConfigurationEditor Interface

Microsoft.VisualStudio.TestTools.Execution Namespace

DataCollectorSettings

IDataCollector