StreamTransferInformation Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- context
- DataCollectionContext
A DataCollectionContext object.
- fileName
- String
The path and file name to use on the client.
- closeStream
- Boolean
true to close the stream after the transfer.