/// <summary> /// Deletes the specified Content Delivery Network service. /// </summary> /// <param name="cdnService">The <see cref="IContentDeliveryNetworkService"/> service instance.</param> /// <param name="serviceId">The service identifier.</param> /// <exception cref="ArgumentNullException">If <paramref name="serviceId"/> is <see langword="null"/> or empty.</exception> public static void DeleteService(this IContentDeliveryNetworkService cdnService, string serviceId) { cdnService.DeleteServiceAsync(serviceId).ForceSynchronous(); }