XpsException.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 / Print / Reach / Exceptions / XpsException.cs / 1 / XpsException.cs

                            using System; 
using System.Runtime.Serialization;

namespace System.Windows.Xps
{ 
    /// 
    /// This class is the base class for all exceptions that are 
    /// thrown by the Xps packaging and serialization APIs. 
    /// 
    [Serializable] 
    public class XpsException : Exception
    {
        #region Constructors
 
        /// 
        /// 
        ///  
        public
        XpsException( 
            )
            : base()
        {
        } 

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

        ///  
        ///
        /// 
        /// 
        ///  
        public
        XpsException( 
            string              message, 
            Exception           innerException
            ) 
            : base(message, innerException)
        {
        }
 
        /// 
        /// 
        ///  
        /// 
        ///  
        protected
        XpsException(
            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