예제 #1
0
 /// <summary>
 /// Asynchronously removes a search <see cref="Job"/>.
 /// </summary>
 /// <param name="searchId">
 /// ID of a search job.
 /// </param>
 /// <remarks>
 /// This method uses the <a href="http://goo.gl/TUqQUc">DELETE 
 /// search/jobs/{search_id}</a> endpoint to remove the <see cref="Job"/> 
 /// identified by <see cref="searchId"/>.
 /// </remarks>
 public async Task RemoveJobAsync(string searchId)
 {
     var resource = new Job(this.Context, this.Namespace, searchId);
     await resource.RemoveAsync();
 }