JobOperations.CopyNodeFileContentToStream メソッド

定義

コンピューティング ノード上の指定したタスクのディレクトリから、指定した にファイルの内容を Streamコピーします。

public void CopyNodeFileContentToStream (string jobId, string taskId, string filePath, System.IO.Stream stream, Microsoft.Azure.Batch.GetFileRequestByteRange byteRange = default, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.CopyNodeFileContentToStream : string * string * string * System.IO.Stream * Microsoft.Azure.Batch.GetFileRequestByteRange * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> unit
Public Sub CopyNodeFileContentToStream (jobId As String, taskId As String, filePath As String, stream As Stream, Optional byteRange As GetFileRequestByteRange = Nothing, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing)

パラメーター

jobId
String

タスクを含むジョブの ID です。

taskId
String

タスクの ID です。

filePath
String

取得するファイルのパス。

stream
Stream

ファイルの内容をコピーするストリーム。

byteRange
GetFileRequestByteRange

コピーするファイルのセクションを定義するバイト範囲。 省略すると、ファイル全体がダウンロードされます。

additionalBehaviors
IEnumerable<BatchClientBehavior>

の後の BatchClientBehavior Batch サービス要求に適用されるインスタンスの CustomBehaviorsコレクション。

注釈

これはブロック操作です。 非ブロッキングに相当するものについては、「」を参照してください CopyNodeFileContentToStreamAsync(String, String, String, Stream, GetFileRequestByteRange, IEnumerable<BatchClientBehavior>, CancellationToken)

適用対象