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
- ParserHooks.cs
- FrameworkContextData.cs
- GeneralTransform3DGroup.cs
- PointCollection.cs
- CallId.cs
- FixedTextSelectionProcessor.cs
- WebCategoryAttribute.cs
- DocumentPaginator.cs
- WebPart.cs
- NumberFunctions.cs
- GlyphsSerializer.cs
- Panel.cs
- DocumentSchemaValidator.cs
- xmlsaver.cs
- PhonemeEventArgs.cs
- DataGridDesigner.cs
- DesignerSerializerAttribute.cs
- FlowDocumentReaderAutomationPeer.cs
- EllipseGeometry.cs
- CommonBehaviorsSection.cs
- WindowProviderWrapper.cs
- OleDbDataAdapter.cs
- MsmqBindingBase.cs
- JsonMessageEncoderFactory.cs
- BitConverter.cs
- DateTime.cs
- SafeEventLogWriteHandle.cs
- PngBitmapDecoder.cs
- PublisherIdentityPermission.cs
- SmtpMail.cs
- ActionFrame.cs
- OleStrCAMarshaler.cs
- BaseValidator.cs
- InstanceNormalEvent.cs
- TabPageDesigner.cs
- ExpressionBinding.cs
- DataGridPageChangedEventArgs.cs
- GPRECTF.cs
- DetailsViewUpdatedEventArgs.cs
- AnchoredBlock.cs
- Separator.cs
- FontDriver.cs
- PropertyFilterAttribute.cs
- PerSessionInstanceContextProvider.cs
- List.cs
- OdbcErrorCollection.cs
- ShapeTypeface.cs
- ObjectDataSource.cs
- CodeCompiler.cs
- OutKeywords.cs
- MemberMaps.cs
- DebugHandleTracker.cs
- HtmlElementErrorEventArgs.cs
- FullTrustAssembly.cs
- DataSetSchema.cs
- ConvertersCollection.cs
- TextProperties.cs
- VisualBrush.cs
- CorruptingExceptionCommon.cs
- AutomationElementCollection.cs
- AttributeUsageAttribute.cs
- OleDbFactory.cs
- SqlDelegatedTransaction.cs
- TypeConverterHelper.cs
- ConsumerConnectionPoint.cs
- WindowsFont.cs
- AttributeAction.cs
- RoleBoolean.cs
- HttpPostLocalhostServerProtocol.cs
- ContainerActivationHelper.cs
- ContentPresenter.cs
- InfoCardTraceRecord.cs
- XamlClipboardData.cs
- XmlMtomReader.cs
- ProxyDataContractResolver.cs
- VirtualPathProvider.cs
- Context.cs
- TextSyndicationContentKindHelper.cs
- StringPropertyBuilder.cs
- ObjectResult.cs
- MediaContext.cs
- HttpResponseBase.cs
- SQLString.cs
- FormsAuthentication.cs
- DataObject.cs
- TableRowGroupCollection.cs
- MenuTracker.cs
- AssemblyAttributes.cs
- WebPartConnectionsConnectVerb.cs
- QueryCacheManager.cs
- FontDialog.cs
- Attributes.cs
- BaseConfigurationRecord.cs
- Size.cs
- InstanceCreationEditor.cs
- DocumentPaginator.cs
- BinaryObjectReader.cs
- TextDocumentView.cs
- SourceInterpreter.cs
- MetabaseServerConfig.cs