Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
context
Type: Microsoft.VisualStudio.TestTools.Execution.DataCollectionContextA DataCollectionContext object.
stream
Type: StreamA Stream object.
fileName
Type: StringThe path and file name to use on the client.
closeStream
Type: Booleantrue to close the stream after the transfer.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.