FileOperationsExtensions.GetFromComputeNodeAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したコンピューティング ノード ファイルの内容を返します。
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
キャンセル トークン。
戻り値
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET