Information
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.

DataCollectionSink Class

 

Diagnostic data adapters use a DataCollectionSink to store files and XML data for later attachment to bugs and test reports.

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

System.Object
  Microsoft.VisualStudio.TestTools.Execution.DataCollectionSink

public abstract class DataCollectionSink

NameDescription
System_CAPS_protmethodDataCollectionSink()

Initializes a new instance of the DataCollectionSink class.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodSendFileAsync(DataCollectionContext, String, Boolean)

Sends a file asynchronously to the DataCollectionSink by using the parameters that are specified for this method.

System_CAPS_pubmethodSendFileAsync(DataCollectionContext, String, String, Boolean)

Sends an intermediate file asynchronously to the DataCollectionSink by using the parameters that are specified for this method.

System_CAPS_pubmethodSendFileAsync(FileTransferInformation)

Sends an intermediate file asynchronously to the DataCollectionSink by using the provided file transfer information object.

System_CAPS_pubmethodSendStreamAsync(DataCollectionContext, Stream, String, Boolean)

Sends a stream to the DataCollectionSink by using the parameters that are specified for this method.

System_CAPS_pubmethodSendStreamAsync(DataCollectionContext, Stream, String, String, Boolean)

Sends a stream to the DataCollectionSink by using the parameters that are specified for this method.

System_CAPS_pubmethodSendStreamAsync(StreamTransferInformation)

Sends a stream to the DataCollectionSink by using the parameters that are specified for this method.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubeventSendFileCompleted

Occurs when a file has been sent to the DataCollectionSink.

System_CAPS_pubeventSendStreamCompleted

Occurs when a stream has been sent to the DataCollectionSink.

When your custom diagnostic data adapter is initialized, the testing framework provides a DataCollectionSink object for it to use.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: