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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft