次の方法で共有


FileOperationsExtensions.GetFromComputeNodeAsync メソッド

定義

指定したコンピューティング ノード ファイルの内容を返します。

public static System.Threading.Tasks.Task<System.IO.Stream> GetFromComputeNodeAsync (this Microsoft.Azure.Batch.Protocol.IFileOperations operations, string poolId, string nodeId, string filePath, Microsoft.Azure.Batch.Protocol.Models.FileGetFromComputeNodeOptions fileGetFromComputeNodeOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member GetFromComputeNodeAsync : Microsoft.Azure.Batch.Protocol.IFileOperations * string * string * string * Microsoft.Azure.Batch.Protocol.Models.FileGetFromComputeNodeOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.IO.Stream>
<Extension()>
Public Function GetFromComputeNodeAsync (operations As IFileOperations, poolId As String, nodeId As String, filePath As String, Optional fileGetFromComputeNodeOptions As FileGetFromComputeNodeOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Stream)

パラメーター

operations
IFileOperations

この拡張メソッドの操作グループ。

poolId
String

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

nodeId
String

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

filePath
String

コンテンツを取得するコンピューティング ノード ファイルへのパス。

fileGetFromComputeNodeOptions
FileGetFromComputeNodeOptions

操作の追加パラメーター

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象