/// <summary> /// Delete a channel. /// </summary> /// <remarks> /// Delete an existing channel. /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group within the partners subscription. /// </param> /// <param name='partnerNamespaceName'> /// Name of the partner namespace. /// </param> /// <param name='channelName'> /// Name of the channel. /// </param> public static void BeginDelete(this IChannelsOperations operations, string resourceGroupName, string partnerNamespaceName, string channelName) { operations.BeginDeleteAsync(resourceGroupName, partnerNamespaceName, channelName).GetAwaiter().GetResult(); }