public void OnSend(ref TickBinary o) { try { tickQueue.EnQueue(ref o); } catch (QueueException) { // Queue already terminated. } }