public void RemoveHandler(object sender, ReceivedChannelModeEventArgs e) { if (!e.Channel.Properties.Remove(Key)) { e.Cancel(); } }