Beispiel #1
0
 public static void DeleteHostedService(this IServiceManagement proxy, string subscriptionId, string serviceName)
 {
     try
     {
         proxy.EndDeleteHostedService(proxy.BeginDeleteHostedService(subscriptionId, serviceName, null, null));
     }
     catch (EndpointNotFoundException)
     {
         throw new EndpointNotFoundException(Resources.ServiceDoesNotExist);
     }
 }
 public static void DeleteHostedService(this IServiceManagement proxy, string subscriptionId, string serviceName)
 {
     proxy.EndDeleteHostedService(proxy.BeginDeleteHostedService(subscriptionId, serviceName, null, null));
 }