NodeFile.CopyToStream(Stream, GetFileRequestByteRange, IEnumerable<BatchClientBehavior>) NodeFile.CopyToStream(Stream, GetFileRequestByteRange, IEnumerable<BatchClientBehavior>) Method

Definition

Blocking call to copy the contents of the file into the given Stream.

public virtual void CopyToStream (System.IO.Stream stream, Microsoft.Azure.Batch.GetFileRequestByteRange byteRange = null, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = null);
abstract member CopyToStream : System.IO.Stream * Microsoft.Azure.Batch.GetFileRequestByteRange * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> unit
override this.CopyToStream : System.IO.Stream * Microsoft.Azure.Batch.GetFileRequestByteRange * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> unit
Parameters
stream
Stream Stream

The stream into which the contents of the file are copied.

byteRange
GetFileRequestByteRange GetFileRequestByteRange

The file byte range to retrieve. If null, the entire file is retrieved.

additionalBehaviors
IEnumerable<BatchClientBehavior>

A collection of BatchClientBehavior instances that are applied after the CustomBehaviors on the current object.

Applies to