Partager via


IDataCollectionAwareTestAdapter.DataCollectors Property

Gets or sets a DataCollectorNotifications object that can raise events for diagnostic data adapters.

Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Syntax

'Declaration
Property DataCollectors As DataCollectorNotifications
DataCollectorNotifications DataCollectors { get; set; }
property DataCollectorNotifications^ DataCollectors {
    DataCollectorNotifications^ get ();
    void set (DataCollectorNotifications^ value);
}
abstract DataCollectors : DataCollectorNotifications with get, set
function get DataCollectors () : DataCollectorNotifications 
function set DataCollectors (value : DataCollectorNotifications)

Property Value

Type: Microsoft.VisualStudio.TestTools.Execution.DataCollectorNotifications
A diagnostic data adapter (data collector) notifications object.

Remarks

For more information about how to implement this property, see the example at IDataCollectionAwareTestAdapter.

.NET Framework Security

See Also

Reference

IDataCollectionAwareTestAdapter Interface

Microsoft.VisualStudio.TestTools.Execution Namespace

DataCollectorNotifications