Exemplo n.º 1
0
 /// <summary>
 /// Deletes an event route.
 /// Status codes:
 /// 200 (OK): Success.
 /// 404 (Not Found): There is no event route with the provided id.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='id'>
 /// The id for an event route. The id is unique within event routes and case
 /// sensitive.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeleteAsync(this IEventRoutesOperations operations, string id, CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.DeleteWithHttpMessagesAsync(id, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }