NoClickablePointException.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 / UIAutomation / UIAutomationTypes / System / Windows / Automation / NoClickablePointException.cs / 1 / NoClickablePointException.cs

                            //---------------------------------------------------------------------------- 
//
// 
//    Copyright (C) Microsoft Corporation.  All rights reserved.
//  
//
// 
// Description: Exception indicating that a clickable point could not be found 
//
// History: 
//  06/03/2003 : BrendanM Ported to WCP
//
//---------------------------------------------------------------------------
 
using System.Windows.Automation;
using System; 
using System.Runtime.Serialization; 
using System.Security.Permissions;
using MS.Internal.Automation; 

namespace System.Windows.Automation
{
    ///  
    /// The exception that is thrown when an error occurs within a AutomationElement.GetClickablePoint.
    /// When the bounding rect is empty, has no width or heigth or the or the AutomationElement at that point 
    /// is not the same is one it was called on 
    /// 
    [Serializable] 
#if (INTERNAL_COMPILE)
    internal class NoClickablePointException : Exception
#else
    public class NoClickablePointException : Exception 
#endif
    { 
        ///  
        /// Default constructor
        ///  
        public NoClickablePointException() {}

        /// 
        /// constructor 
        /// 
        ///  
        public NoClickablePointException(String message) : base(message) {} 

        ///  
        /// constructor
        /// 
        /// 
        ///  
        public  NoClickablePointException(string message, Exception innerException) : base(message, innerException) {}
 
        ///  
        /// Constructor for serialization
        ///  
        //CASRemoval:[SecurityPermissionAttribute(SecurityAction.Demand,SerializationFormatter=true)]
        protected NoClickablePointException(SerializationInfo info, StreamingContext context) : base(info, context) {}

        ///  
        /// Populates a SerializationInfo with the data needed to serialize the target object.
        ///  
        /// The SerializationInfo to populate with data. 
        /// The destination for this serialization.
        [SecurityPermissionAttribute(SecurityAction.Demand,SerializationFormatter=true)] 
        public override void GetObjectData(SerializationInfo info, StreamingContext context)
        {
            base.GetObjectData(info, context);
        } 
    }
} 
 

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
//---------------------------------------------------------------------------- 
//
// 
//    Copyright (C) Microsoft Corporation.  All rights reserved.
//  
//
// 
// Description: Exception indicating that a clickable point could not be found 
//
// History: 
//  06/03/2003 : BrendanM Ported to WCP
//
//---------------------------------------------------------------------------
 
using System.Windows.Automation;
using System; 
using System.Runtime.Serialization; 
using System.Security.Permissions;
using MS.Internal.Automation; 

namespace System.Windows.Automation
{
    ///  
    /// The exception that is thrown when an error occurs within a AutomationElement.GetClickablePoint.
    /// When the bounding rect is empty, has no width or heigth or the or the AutomationElement at that point 
    /// is not the same is one it was called on 
    /// 
    [Serializable] 
#if (INTERNAL_COMPILE)
    internal class NoClickablePointException : Exception
#else
    public class NoClickablePointException : Exception 
#endif
    { 
        ///  
        /// Default constructor
        ///  
        public NoClickablePointException() {}

        /// 
        /// constructor 
        /// 
        ///  
        public NoClickablePointException(String message) : base(message) {} 

        ///  
        /// constructor
        /// 
        /// 
        ///  
        public  NoClickablePointException(string message, Exception innerException) : base(message, innerException) {}
 
        ///  
        /// Constructor for serialization
        ///  
        //CASRemoval:[SecurityPermissionAttribute(SecurityAction.Demand,SerializationFormatter=true)]
        protected NoClickablePointException(SerializationInfo info, StreamingContext context) : base(info, context) {}

        ///  
        /// Populates a SerializationInfo with the data needed to serialize the target object.
        ///  
        /// The SerializationInfo to populate with data. 
        /// The destination for this serialization.
        [SecurityPermissionAttribute(SecurityAction.Demand,SerializationFormatter=true)] 
        public override void GetObjectData(SerializationInfo info, StreamingContext context)
        {
            base.GetObjectData(info, context);
        } 
    }
} 
 

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