ITraceDataProviderCollection interface (pla.h)

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.

Inheritance

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

Methods

The ITraceDataProviderCollection interface has these methods.

 
ITraceDataProviderCollection::Add

Adds a trace provider to the collection.
ITraceDataProviderCollection::AddRange

Adds one or more trace providers to the collection.
ITraceDataProviderCollection::Clear

Removes all trace providers from the collection.
ITraceDataProviderCollection::CreateTraceDataProvider

Creates a trace data provider object.
ITraceDataProviderCollection::get__NewEnum

Retrieves an interface to the enumeration. (ITraceDataProviderCollection.get__NewEnum)
ITraceDataProviderCollection::get_Count

Retrieves the number of trace providers in the collection.
ITraceDataProviderCollection::get_Item

Retrieves the requested trace provider from the collection.
ITraceDataProviderCollection::GetTraceDataProviders

Populates the collection with registered trace providers.
ITraceDataProviderCollection::GetTraceDataProvidersByProcess

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

Removes a trace provider from the collection.

Remarks

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

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header pla.h