JobOperations.CopyNodeFileContentToString メソッド

定義

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

public string CopyNodeFileContentToString (string jobId, string taskId, string filePath, System.Text.Encoding encoding = default, Microsoft.Azure.Batch.GetFileRequestByteRange byteRange = default, System.Collections.Generic.IEnumerable<Microsoft.Azure.Batch.BatchClientBehavior> additionalBehaviors = default);
member this.CopyNodeFileContentToString : string * string * string * System.Text.Encoding * Microsoft.Azure.Batch.GetFileRequestByteRange * seq<Microsoft.Azure.Batch.BatchClientBehavior> -> string
Public Function CopyNodeFileContentToString (jobId As String, taskId As String, filePath As String, Optional encoding As Encoding = Nothing, Optional byteRange As GetFileRequestByteRange = Nothing, Optional additionalBehaviors As IEnumerable(Of BatchClientBehavior) = Nothing) As String

パラメーター

jobId
String

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

taskId
String

タスクの ID です。

filePath
String

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

encoding
Encoding

使用するエンコーディング。 値または null が指定されていない場合は、UTF8 が使用されます。

byteRange
GetFileRequestByteRange

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

additionalBehaviors
IEnumerable<BatchClientBehavior>

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

戻り値

ファイルの内容 (文字列として)

適用対象