EmulateRecognizeCompletedEventArgs.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Speech / Src / Recognition / EmulateRecognizeCompletedEventArgs.cs / 1 / EmulateRecognizeCompletedEventArgs.cs

                            //------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//----------------------------------------------------------------- 

 
using System; 
using System.ComponentModel;
 
namespace System.Speech.Recognition
{

    /// TODOC <_include file='doc\EmulateRecognizeCompletedEventArgs.uex' path='docs/doc[@for="EmulateRecognizeCompletedEventArgs"]/*' /> 
    public class EmulateRecognizeCompletedEventArgs : AsyncCompletedEventArgs
    { 
 
        //*******************************************************************
        // 
        // Constructors
        //
        //*******************************************************************
 
        #region Constructors
 
        internal EmulateRecognizeCompletedEventArgs (RecognitionResult result, Exception error, bool cancelled, object userState) 
            : base(error, cancelled, userState)
        { 
            _result = result;
        }

        #endregion 

        //******************************************************************** 
        // 
        // Public Properties
        // 
        //*******************************************************************

        #region Public Properties
 
        /// TODOC <_include file='doc\RecognizeCompletedEventArgs.uex' path='docs/doc[@for="RecognizeCompletedEventArgs.Result"]/*' />
        public RecognitionResult Result 
        { 
            get { return _result; }
        } 

        #endregion

        //******************************************************************** 
        //
        // Private Fields 
        // 
        //********************************************************************
 
        #region Private Fields

        private RecognitionResult _result;
 
        #endregion
 
    } 

} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//----------------------------------------------------------------- 

 
using System; 
using System.ComponentModel;
 
namespace System.Speech.Recognition
{

    /// TODOC <_include file='doc\EmulateRecognizeCompletedEventArgs.uex' path='docs/doc[@for="EmulateRecognizeCompletedEventArgs"]/*' /> 
    public class EmulateRecognizeCompletedEventArgs : AsyncCompletedEventArgs
    { 
 
        //*******************************************************************
        // 
        // Constructors
        //
        //*******************************************************************
 
        #region Constructors
 
        internal EmulateRecognizeCompletedEventArgs (RecognitionResult result, Exception error, bool cancelled, object userState) 
            : base(error, cancelled, userState)
        { 
            _result = result;
        }

        #endregion 

        //******************************************************************** 
        // 
        // Public Properties
        // 
        //*******************************************************************

        #region Public Properties
 
        /// TODOC <_include file='doc\RecognizeCompletedEventArgs.uex' path='docs/doc[@for="RecognizeCompletedEventArgs.Result"]/*' />
        public RecognitionResult Result 
        { 
            get { return _result; }
        } 

        #endregion

        //******************************************************************** 
        //
        // Private Fields 
        // 
        //********************************************************************
 
        #region Private Fields

        private RecognitionResult _result;
 
        #endregion
 
    } 

} 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.

                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK