Lync 2010: Using Speech Recognition in UCMA 3.0 and Lync 2010

This is the first in a series of five articles that describe how a Microsoft Unified Communications Managed API (UCMA) 3.0 application and a Microsoft Lync 2010 application can be combined to perform speech recognition. Part 1 describes the scenario that motivates the two applica

C# (10.0 MB)
 
 
 
 
 
2 Star
(4)
3,050 times
Add to favorites
4/12/2011
E-mail Twitter del.icio.us Digg Facebook

Solution explorer

C#
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Lync.Utilities.Logging;

namespace FlightChooser
{
    /// <summary>
    /// DebugLogListener provides a listener that writes to the debug output
    /// </summary>    
    public class DebugLogListener : LogListener
    {
        /// <summary>
        /// Write a LogEntry instance
        /// </summary>
        /// <param name="logEntry"></param>
        public override void Write(LogEntry logEntry)
        {
            if (!Filter(logEntry))
            {
                Debug.WriteLine(logEntry.ToString());
            }
        }
    }
}