/// <summary>
        /// Speech recognition rejected event handler
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="eventArgs"></param>
        private void SpeechRecognitionRejectedHandler(object sender, SpeechRecognitionRejectedEventArgs eventArgs)
        {
            SpeechRecognitionRejected msg = new SpeechRecognitionRejected();

            SpeechRecognitionRejectedNotification notification = new SpeechRecognitionRejectedNotification();

            PopulateCommonSpeechNotificationInformation(eventArgs.Result, notification);

            msg.Body = notification;
            SendNotification(subMgrPort, msg);
        }
        /// <summary>
        /// Speech recognition rejected event handler
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="eventArgs"></param>
        private void SpeechRecognitionRejectedHandler(object sender, SpeechRecognitionRejectedEventArgs eventArgs)
        {
            SpeechRecognitionRejected msg = new SpeechRecognitionRejected();

            SpeechRecognitionRejectedNotification notification = new SpeechRecognitionRejectedNotification();

            if (eventArgs.Result.Audio != null)
            {
                notification.StartTime = eventArgs.Result.Audio.StartTime;
                notification.Duration  = eventArgs.Result.Audio.Duration;
            }
            else
            {
                // If the engine's audio input is set to null no audio information is available
                notification.StartTime = new DateTime(0);
                notification.Duration  = new TimeSpan(0);
            }


            msg.Body = notification;
            SendNotification(_subMgrPort, msg);
        }