StreamTransferInformation Constructor

Definition

Initializes a new instance of the StreamTransferInformation class by using the provided arguments.

public:
 StreamTransferInformation(Microsoft::VisualStudio::TestTools::Execution::DataCollectionContext ^ context, System::IO::Stream ^ stream, System::String ^ fileName, bool closeStream);
public StreamTransferInformation (Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext context, System.IO.Stream stream, string fileName, bool closeStream);
new Microsoft.VisualStudio.TestTools.Execution.StreamTransferInformation : Microsoft.VisualStudio.TestTools.Execution.DataCollectionContext * System.IO.Stream * string * bool -> Microsoft.VisualStudio.TestTools.Execution.StreamTransferInformation
Public Sub New (context As DataCollectionContext, stream As Stream, fileName As String, closeStream As Boolean)

Parameters

stream
Stream

A Stream object.

fileName
String

The path and file name to use on the client.

closeStream
Boolean

true to close the stream after the transfer.

Applies to