InvalidWMPVersionException.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 / Core / System / Windows / Media / InvalidWMPVersionException.cs / 1 / 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