/// <summary> /// Deletes a Channel registration from a Bot Service /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='resourceGroupName'> /// The name of the resource group within the user's subscription. /// </param> /// <param name='resourceName'> /// The name of the Bot resource. /// </param> /// <param name='channelName'> /// The name of the Bot resource. /// </param> public static void Delete(this IChannelsOperations operations, string resourceGroupName, string resourceName, string channelName) { operations.DeleteAsync(resourceGroupName, resourceName, channelName).GetAwaiter().GetResult(); }