InvalidWMPVersionException.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 / wpf / src / Core / CSharp / System / Windows / Media / InvalidWMPVersionException.cs / 1305600 / InvalidWMPVersionException.cs

                            using System; 
using System.Runtime.Serialization;

namespace System.Windows.Media
{ 
    ///
    ///Exception class for when WMP 10 is not installed 
    /// 
    [Serializable]
    public class InvalidWmpVersionException : SystemException 
    {
        ///
        /// Constructor
        /// 
        public InvalidWmpVersionException()
        {} 
 
        ///
        /// Constructor 
        ///
        ///
        /// Exception message
        /// 
        public InvalidWmpVersionException(string message) : base(message)
        {} 
 

        ///  
        /// Creates a new instance of InvalidWmpVersionException class and initializes it with serialized data.
        /// This constructor is called during deserialization to reconstitute the exception object transmitted over a stream.
        /// 
        ///  
        /// The object that holds the serialized object data.
        ///  
        ///  
        /// The contextual information about the source or destination.
        ///  
        protected InvalidWmpVersionException(SerializationInfo info, StreamingContext context) : base(info, context)
        {}

        /// 
        /// Constructor
        /// 
        /// 
        /// Exception message
        /// 
        ///
        /// Inner exception
        ///
        public InvalidWmpVersionException(string message, Exception innerException) : base(message, innerException) 
        {}
    } 
} 

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