Exemplo n.º 1
0
 /// <summary>
 /// Lists the scan history of a scan
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='dataSourceName'>
 /// </param>
 /// <param name='scanName'>
 /// </param>
 /// <param name='skipToken'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ScanHistoryList> ListHistoryAsync(this IScans operations, string dataSourceName, string scanName, string skipToken = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.ListHistoryWithHttpMessagesAsync(dataSourceName, scanName, skipToken, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }