The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataCollectionEvents.DataRequest Event


Raised to request intermediate data.

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

public abstract event EventHandler<DataRequestEventArgs> DataRequest

DataRequest events can be specific to a test case or specific to a session. When this event is raised in a test case context, intermediate data for the test case is requested. When this event is raised in a session context, intermediate data for a session is requested.

Use a method of the DataCollectionSink class that sends a Stream or a file and a userToken parameter to send intermediate data to a diagnostic data adapter.

Return to top