/// <summary>
 /// Gets the properties 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 get the properties of.
 /// </param>
 /// <param name='filePath'>
 /// The path to the Task file that you want to get the properties of.
 /// </param>
 /// <param name='fileGetPropertiesFromTaskOptions'>
 /// Additional parameters for the operation
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <FileGetPropertiesFromTaskHeaders> GetPropertiesFromTaskAsync(this IFileOperations operations, string jobId, string taskId, string filePath, FileGetPropertiesFromTaskOptions fileGetPropertiesFromTaskOptions = default(FileGetPropertiesFromTaskOptions), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.GetPropertiesFromTaskWithHttpMessagesAsync(jobId, taskId, filePath, fileGetPropertiesFromTaskOptions, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Headers);
     }
 }
Exemple #2
0
 public virtual async Task <Response> GetPropertiesFromTaskAsync(string jobId, string taskId, string filePath, FileGetPropertiesFromTaskOptions fileGetPropertiesFromTaskOptions, CancellationToken cancellationToken = default)
 {
     return((await RestClient.GetPropertiesFromTaskAsync(jobId, taskId, filePath, fileGetPropertiesFromTaskOptions, cancellationToken).ConfigureAwait(false)).GetRawResponse());
 }
 /// <summary>
 /// Gets the properties 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 get the properties of.
 /// </param>
 /// <param name='filePath'>
 /// The path to the Task file that you want to get the properties of.
 /// </param>
 /// <param name='fileGetPropertiesFromTaskOptions'>
 /// Additional parameters for the operation
 /// </param>
 public static FileGetPropertiesFromTaskHeaders GetPropertiesFromTask(this IFileOperations operations, string jobId, string taskId, string filePath, FileGetPropertiesFromTaskOptions fileGetPropertiesFromTaskOptions = default(FileGetPropertiesFromTaskOptions))
 {
     return(operations.GetPropertiesFromTaskAsync(jobId, taskId, filePath, fileGetPropertiesFromTaskOptions).GetAwaiter().GetResult());
 }
Exemple #4
0
 public virtual Response GetPropertiesFromTask(string jobId, string taskId, string filePath, FileGetPropertiesFromTaskOptions fileGetPropertiesFromTaskOptions, CancellationToken cancellationToken = default)
 {
     return(RestClient.GetPropertiesFromTask(jobId, taskId, filePath, fileGetPropertiesFromTaskOptions, cancellationToken).GetRawResponse());
 }