BamlLocalizerErrorNotifyEventArgs.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Framework / System / Windows / Markup / Localizer / BamlLocalizerErrorNotifyEventArgs.cs / 1 / BamlLocalizerErrorNotifyEventArgs.cs

                            //------------------------------------------------------------------------ 
//
//  Microsoft Windows Client Platform
//  Copyright (C) Microsoft Corporation, 2001
// 
//  File:      BamlLocalizerErrorNotifyEventArgs.cs
// 
//  Created:   2/27/2006 [....] 
//-----------------------------------------------------------------------
using System; 

namespace System.Windows.Markup.Localizer
{
    ///  
    /// The EventArgs for the BamlLocalizer.ErrorNotify event.
    ///  
    public class BamlLocalizerErrorNotifyEventArgs : EventArgs 
    {

        BamlLocalizableResourceKey _key;    // The key of the localizable resources related to the error 
        BamlLocalizerError       _error;    // The error code.

        internal BamlLocalizerErrorNotifyEventArgs(BamlLocalizableResourceKey key, BamlLocalizerError error)
        { 
            _key = key;
 
            // 
            _error = error;
        } 

        /// 
        /// The key of the BamlLocalizableResource related to the error
        ///  
        public BamlLocalizableResourceKey Key { get { return _key; } }
 
        ///  
        /// The error encountered by BamlLocalizer
        ///  
        public BamlLocalizerError Error { get { return _error; } }
    }
}

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

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