Share via


StreamTransferInformation Constructor

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

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

Syntax

'Declaration
Public Sub New ( _
    context As DataCollectionContext, _
    stream As Stream, _
    fileName As String, _
    closeStream As Boolean _
)
public StreamTransferInformation(
    DataCollectionContext context,
    Stream stream,
    string fileName,
    bool closeStream
)
public:
StreamTransferInformation(
    DataCollectionContext^ context, 
    Stream^ stream, 
    String^ fileName, 
    bool closeStream
)
new : 
        context:DataCollectionContext * 
        stream:Stream * 
        fileName:string * 
        closeStream:bool -> StreamTransferInformation
public function StreamTransferInformation(
    context : DataCollectionContext, 
    stream : Stream, 
    fileName : String, 
    closeStream : boolean
)

Parameters

  • stream
    Type: Stream

    A Stream object.

  • fileName
    Type: String

    The path and file name to use on the client.

  • closeStream
    Type: Boolean

    true to close the stream after the transfer.

.NET Framework Security

See Also

Reference

StreamTransferInformation Class

Microsoft.VisualStudio.TestTools.Execution Namespace