DataCollector Class

Definition

Provides a base class for custom diagnostic data adapters.

public ref class DataCollector abstract : IDisposable
public abstract class DataCollector : IDisposable
type DataCollector = class
    interface IDisposable
Public MustInherit Class DataCollector
Implements IDisposable
Inheritance
DataCollector
Implements

Constructors

DataCollector()

Initializes a new instance of the DataCollector class.

Methods

Dispose()

Releases all resources that are used by the DataCollector.

Dispose(Boolean)

Releases the unmanaged resources that are used by the DataCollector and optionally releases the managed resources.

Initialize(XmlElement, DataCollectionEvents, DataCollectionSink, DataCollectionLogger, DataCollectionEnvironmentContext)

Called by the testing framework to initialize the internal objects and data for a custom diagnostic data adapter.

Applies to