public void SendToChannel(string channel, object message)
        {
            Task.Factory.StartNew(() =>
            {
                var networkMessage = new NetworkRelayMessage(Environment.MachineName,
                    originalTransportMode, channel,
                    serializer.Serialize(message));

                networkBroadcaster.SendToChannel(networkChannel, networkMessage);
                // ReSharper disable once UnusedVariable
            }).ContinueWith(t => { var e = t.Exception; }, TaskContinuationOptions.OnlyOnFaulted);
        }
 public void SendToChannel(string channel, string message)
 {
     Task.Factory.StartNew(() =>
                               {
                                   var networkMessage = new NetworkRelayMessage(Environment.MachineName,
                                                                                originalTransportMode, channel,
                                                                                message);
                                   
                                   networkBroadcaster.SendToChannel(networkChannel, networkMessage);
                               }).ContinueWith(t =>
                                                   {
                                                       var e = t.Exception;
                                                   }, TaskContinuationOptions.OnlyOnFaulted);
 }