InvalidCommandTreeException.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / InvalidCommandTreeException.cs / 1305376 / InvalidCommandTreeException.cs

                            //---------------------------------------------------------------------- 
// 
//      Copyright (c) Microsoft Corporation.  All rights reserved.
// 
// 
// @owner  [....]
// @backupOwner [....] 
//--------------------------------------------------------------------- 

using System; 
using System.Runtime.Serialization;
using System.Security.Permissions;

using System.Data; 
using System.Data.Metadata.Edm;
 
namespace System.Data 
{
    ///  
    /// Thrown to indicate that a command tree is invalid.
    /// 
    [Serializable]
    public sealed class InvalidCommandTreeException : DataException /*InvalidQueryException*/ 
    {
        ///  
        /// Constructs a new InvalidCommandTreeException with a default message. 
        /// 
        public InvalidCommandTreeException() 
            : base(System.Data.Entity.Strings.Cqt_Exceptions_InvalidCommandTree) { }

        /// 
        /// Constructs a new InvalidCommandTreeException with the specified message. 
        /// 
        /// The exception message 
        public InvalidCommandTreeException(string message) 
            : base(message) { }
 
        /// 
        /// Constructs a new InvalidCommandTreeException with the specified message and inner exception.
        /// 
        /// The exception message. 
        /// The exception that is the cause of this InvalidCommandTreeException.
        public InvalidCommandTreeException(string message, Exception innerException) 
            : base(message, innerException) { } 

        ///  
        /// Constructs a new InvalidCommandTreeException from the specified serialization info and streaming context.
        /// 
        /// 
        ///  
        private InvalidCommandTreeException(SerializationInfo info, StreamingContext context)
            : base(info, context) { } 
 
     }
} 

// 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