/// <summary>
 /// The Delete Service Certificate operation deletes a service
 /// certificate from the certificate store of a hosted service.  The
 /// Delete Service Certificate operation is an asynchronous operation.
 /// To determine whether the management service has finished
 /// processing the request, call Get Operation Status.  (see
 /// http://msdn.microsoft.com/en-us/library/windowsazure/ee460803.aspx
 /// for more information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.WindowsAzure.Management.Compute.IServiceCertificateOperations.
 /// </param>
 /// <param name='parameters'>
 /// Parameters supplied to the Delete Service Certificate operation.
 /// </param>
 /// <returns>
 /// A standard service response including an HTTP status code and
 /// request ID.
 /// </returns>
 public static OperationResponse BeginDeleting(this IServiceCertificateOperations operations, ServiceCertificateDeleteParameters parameters)
 {
     try
     {
         return(operations.BeginDeletingAsync(parameters).Result);
     }
     catch (AggregateException ex)
     {
         if (ex.InnerExceptions.Count > 1)
         {
             throw;
         }
         else
         {
             throw ex.InnerException;
         }
     }
 }
 /// <summary>
 /// The Delete Service Certificate operation deletes a service
 /// certificate from the certificate store of a hosted service.  The
 /// Delete Service Certificate operation is an asynchronous operation.
 /// To determine whether the management service has finished
 /// processing the request, call Get Operation Status.  (see
 /// http://msdn.microsoft.com/en-us/library/windowsazure/ee460803.aspx
 /// for more information)
 /// </summary>
 /// <param name='operations'>
 /// Reference to the
 /// Microsoft.WindowsAzure.Management.Compute.IServiceCertificateOperations.
 /// </param>
 /// <param name='parameters'>
 /// Parameters supplied to the Delete Service Certificate operation.
 /// </param>
 /// <returns>
 /// A standard service response including an HTTP status code and
 /// request ID.
 /// </returns>
 public static Task <OperationResponse> BeginDeletingAsync(this IServiceCertificateOperations operations, ServiceCertificateDeleteParameters parameters)
 {
     return(operations.BeginDeletingAsync(parameters, CancellationToken.None));
 }