Export (0) Print
Expand All

ITraceDataProviderCollection interface

Manages a collection of TraceDataProvider objects.

To get this interface, access the ITraceDataCollector::TraceDataProviders property.

You can also call the CoCreateInstance function to create a new instance of the TraceDataProviderCollection object. Pass __uuidof(TraceDataProviderCollection) as the class identifier and __uuidof(ITraceDataProviderCollection) as the interface identifier.

To populate the collection with registered providers, call the ITraceDataProviderCollection::GetTraceDataProviders method.

Members

The ITraceDataProviderCollection interface inherits from the IDispatch interface. ITraceDataProviderCollection also has these types of members:

Methods

The ITraceDataProviderCollection interface has these methods.

MethodDescription
Add

Adds a trace provider to the collection.

AddRange

Adds one or more trace providers to the collection.

Clear

Removes all trace providers from the collection.

CreateTraceDataProvider

Creates a trace data provider object.

GetTraceDataProviders

Populates the collection with registered trace providers.

GetTraceDataProvidersByProcess

Populates the collection with the list of providers that have been registered by the specified process.

Remove

Removes a trace provider from the collection.

 

Properties

The ITraceDataProviderCollection interface has these properties.

PropertyDescription

_NewEnum

Retrieves an interface to the enumeration.

Count

Retrieves the number of trace providers in the collection.

Item

Retrieves the requested trace provider from the collection.

 

Remarks

To create the object from a script, use the Pla.TraceDataProviderCollection program identifier.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Pla.h

DLL

Pla.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft