PrintDialogException.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Framework / System / Windows / Controls / PrintDialogException.cs / 1 / PrintDialogException.cs

                            using System; 
using System.Runtime.Serialization;

namespace System.Windows.Controls
{ 
    /// 
    /// This class is the base class for all exceptions that are 
    /// thrown by the PrintDialog and all internal classes. 
    /// 
    [Serializable] 
    public class PrintDialogException : Exception
    {
        #region Constructors
 
        /// 
        /// 
        ///  
        public
        PrintDialogException( 
            )
            : base()
        {
        } 

        ///  
        /// 
        /// 
        ///  
        public
        PrintDialogException(
            string              message
            ) 
            : base(message)
        { 
        } 

        ///  
        ///
        /// 
        /// 
        ///  
        public
        PrintDialogException( 
            string              message, 
            Exception           innerException
            ) 
            : base(message, innerException)
        {
        }
 
        /// 
        /// 
        ///  
        /// 
        ///  
        protected
        PrintDialogException(
            SerializationInfo   info,
            StreamingContext    context 
            )
            : base(info, context) 
        { 
        }
 
        #endregion Constructors
    }
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
using System; 
using System.Runtime.Serialization;

namespace System.Windows.Controls
{ 
    /// 
    /// This class is the base class for all exceptions that are 
    /// thrown by the PrintDialog and all internal classes. 
    /// 
    [Serializable] 
    public class PrintDialogException : Exception
    {
        #region Constructors
 
        /// 
        /// 
        ///  
        public
        PrintDialogException( 
            )
            : base()
        {
        } 

        ///  
        /// 
        /// 
        ///  
        public
        PrintDialogException(
            string              message
            ) 
            : base(message)
        { 
        } 

        ///  
        ///
        /// 
        /// 
        ///  
        public
        PrintDialogException( 
            string              message, 
            Exception           innerException
            ) 
            : base(message, innerException)
        {
        }
 
        /// 
        /// 
        ///  
        /// 
        ///  
        protected
        PrintDialogException(
            SerializationInfo   info,
            StreamingContext    context 
            )
            : base(info, context) 
        { 
        }
 
        #endregion Constructors
    }
}

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