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
- PtsCache.cs
- WmiEventSink.cs
- CqlErrorHelper.cs
- HyperLinkStyle.cs
- DataSourceComponent.cs
- SecureStringHasher.cs
- RewritingSimplifier.cs
- LabelLiteral.cs
- FamilyTypeface.cs
- JoinSymbol.cs
- XPathDocument.cs
- ComplexLine.cs
- TransactedBatchingElement.cs
- WSDualHttpBindingCollectionElement.cs
- Preprocessor.cs
- StoreItemCollection.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- MessageQueueException.cs
- XmlSchemaExporter.cs
- TextFormatterContext.cs
- InternalConfigRoot.cs
- MatrixAnimationUsingPath.cs
- DataGridViewRowHeaderCell.cs
- TextDecoration.cs
- FrameSecurityDescriptor.cs
- ControlCachePolicy.cs
- ContentType.cs
- Char.cs
- TextServicesContext.cs
- DictionaryKeyPropertyAttribute.cs
- XmlUrlResolver.cs
- SerializationInfoEnumerator.cs
- PropertyChangedEventArgs.cs
- ConfigurationSectionCollection.cs
- BoolLiteral.cs
- clipboard.cs
- MsmqIntegrationOutputChannel.cs
- ToolStripComboBox.cs
- ClientUtils.cs
- MouseEvent.cs
- Token.cs
- HtmlUtf8RawTextWriter.cs
- AppModelKnownContentFactory.cs
- Pkcs9Attribute.cs
- HostedBindingBehavior.cs
- HtmlInputRadioButton.cs
- BooleanStorage.cs
- SocketManager.cs
- UmAlQuraCalendar.cs
- ConfigDefinitionUpdates.cs
- ScalarConstant.cs
- IOException.cs
- RuntimeHelpers.cs
- Msmq3PoisonHandler.cs
- AssemblyInfo.cs
- CodeObject.cs
- DashStyle.cs
- Compilation.cs
- ByteAnimation.cs
- InvariantComparer.cs
- AsymmetricSignatureFormatter.cs
- SizeConverter.cs
- ConstrainedDataObject.cs
- exports.cs
- HttpGetClientProtocol.cs
- Compensate.cs
- TableAdapterManagerNameHandler.cs
- SoapSchemaMember.cs
- Polyline.cs
- TemplateControlParser.cs
- CallTemplateAction.cs
- FontUnit.cs
- PermissionSet.cs
- StorageAssociationSetMapping.cs
- XPathNodeInfoAtom.cs
- FontNamesConverter.cs
- RequestCachePolicy.cs
- Tablet.cs
- Rectangle.cs
- ToolboxComponentsCreatedEventArgs.cs
- SqlError.cs
- PresentationAppDomainManager.cs
- StructuredProperty.cs
- ResolveDuplex11AsyncResult.cs
- Error.cs
- HttpHostedTransportConfiguration.cs
- WebInvokeAttribute.cs
- EventToken.cs
- ZipIOLocalFileDataDescriptor.cs
- HttpErrorTraceRecord.cs
- Calendar.cs
- ServicePointManager.cs
- OledbConnectionStringbuilder.cs
- RelationshipConstraintValidator.cs
- SqlVersion.cs
- AncestorChangedEventArgs.cs
- DataRowExtensions.cs
- ComponentManagerBroker.cs
- DefaultPrintController.cs
- ReadOnlyHierarchicalDataSource.cs