コード例 #1
0
 /// <summary>
 /// Returns the content of the specified Task file.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='jobId'>
 /// The ID of the Job that contains the Task.
 /// </param>
 /// <param name='taskId'>
 /// The ID of the Task whose file you want to retrieve.
 /// </param>
 /// <param name='filePath'>
 /// The path to the Task file that you want to get the content of.
 /// </param>
 /// <param name='fileGetFromTaskOptions'>
 /// Additional parameters for the operation
 /// </param>
 public static Stream GetFromTask(this IFileOperations operations, string jobId, string taskId, string filePath, FileGetFromTaskOptions fileGetFromTaskOptions = default(FileGetFromTaskOptions))
 {
     return(operations.GetFromTaskAsync(jobId, taskId, filePath, fileGetFromTaskOptions).GetAwaiter().GetResult());
 }