Beispiel #1
0
 /// <summary>
 /// Fetch all the details about a single work item,
 /// including logs and any additional, unrecognized data that is stored in
 /// Helix.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='job'>
 /// Job name for the work item
 /// </param>
 /// <param name='id'>
 /// Work item name
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <WorkItemDetails> DetailsAsync(this IWorkItem operations, string job, string id, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     using (var _result = await operations.DetailsWithHttpMessagesAsync(job, id, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }