次の方法で共有


PoolOperations.CopyNodeFileContentToStream メソッド

定義

指定したノードから指定した にファイルの内容を Streamコピーします。

public void CopyNodeFileContentToStream (string poolId, string computeNodeId, 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 (poolId As String, computeNodeId As String, filePath As String, stream As Stream, Optional byteRange As GetFileRequestByteRange = Nothing, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing)

パラメーター

poolId
String

コンピューティング ノードを含むプールの ID。

computeNodeId
String

コンピューティング ノードの ID。

filePath
String

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

stream
Stream

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

byteRange
GetFileRequestByteRange

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

additionalBehaviors
IEnumerable<BatchClientBehavior>

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

注釈

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

適用対象