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

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HiddenField.cs
- QueryCacheEntry.cs
- ClientBuildManager.cs
- LoginName.cs
- SequenceDesigner.xaml.cs
- Span.cs
- PropertyDescriptorGridEntry.cs
- PermissionSet.cs
- MemoryStream.cs
- XMLUtil.cs
- DiagnosticSection.cs
- SelectionItemProviderWrapper.cs
- UnknownBitmapEncoder.cs
- NetTcpBindingCollectionElement.cs
- StaticExtension.cs
- TemplateContentLoader.cs
- SafeWaitHandle.cs
- DaylightTime.cs
- DependentList.cs
- GeometryDrawing.cs
- SqlDataSourceCache.cs
- MethodAccessException.cs
- CancelRequestedRecord.cs
- PopOutPanel.cs
- XmlComment.cs
- RotateTransform.cs
- CatalogPart.cs
- ConfigPathUtility.cs
- ConfigXmlText.cs
- AnnotationObservableCollection.cs
- DataFormats.cs
- Queue.cs
- UnitySerializationHolder.cs
- MasterPageParser.cs
- ToolStripSeparator.cs
- PathFigure.cs
- StrongNameKeyPair.cs
- ICspAsymmetricAlgorithm.cs
- Parser.cs
- SamlSubject.cs
- InputDevice.cs
- WindowPattern.cs
- SecurityTokenTypes.cs
- FlowDocumentFormatter.cs
- JournalEntryListConverter.cs
- OciHandle.cs
- SocketException.cs
- ImportContext.cs
- ScriptControlManager.cs
- HMACSHA1.cs
- WebService.cs
- ScrollEventArgs.cs
- InvalidPropValue.cs
- LinkConverter.cs
- DocumentXmlWriter.cs
- NativeMethods.cs
- x509utils.cs
- HelpProvider.cs
- AvTrace.cs
- GridEntryCollection.cs
- DataSysAttribute.cs
- WebPartPersonalization.cs
- PropertyRecord.cs
- QualifiedCellIdBoolean.cs
- AdornerDecorator.cs
- SolidBrush.cs
- XmlWriterDelegator.cs
- OrderedDictionary.cs
- WCFModelStrings.Designer.cs
- SrgsElementList.cs
- DrawingGroup.cs
- DifferencingCollection.cs
- rsa.cs
- DoubleLink.cs
- Tile.cs
- TableLayoutRowStyleCollection.cs
- _NetworkingPerfCounters.cs
- _AutoWebProxyScriptEngine.cs
- RequestDescription.cs
- CodeTypeOfExpression.cs
- DocumentGridPage.cs
- SafeProcessHandle.cs
- GAC.cs
- FontFamilyConverter.cs
- FileIOPermission.cs
- WorkflowPersistenceService.cs
- Listbox.cs
- ComponentResourceKeyConverter.cs
- TableProviderWrapper.cs
- QueryableFilterRepeater.cs
- FileSystemWatcher.cs
- UIElement3D.cs
- FixedHyperLink.cs
- ArgumentNullException.cs
- ComponentEditorPage.cs
- Soap.cs
- SerializationIncompleteException.cs
- Brush.cs
- DateTimeConstantAttribute.cs
- FigureParagraph.cs