コード例 #1
0
 /// <summary>
 /// Deletes the regulation associated with client by specified id.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='clientId'>
 /// The client id.
 /// </param>
 /// <param name='regulationId'>
 /// The id of regulation to delete.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <ErrorResponse> DeleteClientRegulationAsync(this IRegulationAPI operations, string clientId, string regulationId, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.DeleteClientRegulationWithHttpMessagesAsync(clientId, regulationId, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }