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
- QuaternionAnimation.cs
- TypeToStringValueConverter.cs
- ProcessModuleCollection.cs
- DataFormats.cs
- ContentPosition.cs
- NamespaceEmitter.cs
- TemplatePagerField.cs
- InnerItemCollectionView.cs
- Predicate.cs
- RoutedCommand.cs
- MessageDecoder.cs
- HostExecutionContextManager.cs
- PaintEvent.cs
- Utility.cs
- SchemaConstraints.cs
- DateTimeSerializationSection.cs
- TaskForm.cs
- CodeArgumentReferenceExpression.cs
- IdentityReference.cs
- DefaultMemberAttribute.cs
- TextParagraph.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- BitmapCache.cs
- GridEntry.cs
- ClientUriBehavior.cs
- SmiContextFactory.cs
- XslVisitor.cs
- FederatedMessageSecurityOverHttp.cs
- SafeLocalMemHandle.cs
- ConstraintStruct.cs
- DataGridLinkButton.cs
- RetrieveVirtualItemEventArgs.cs
- PtsPage.cs
- Utils.cs
- ProjectionPlan.cs
- SoapAttributes.cs
- StreamGeometryContext.cs
- WebPartExportVerb.cs
- TabRenderer.cs
- AxImporter.cs
- WorkflowFileItem.cs
- PageSettings.cs
- QilTypeChecker.cs
- XamlRtfConverter.cs
- XPathAncestorIterator.cs
- HeaderUtility.cs
- HitTestWithPointDrawingContextWalker.cs
- PeekCompletedEventArgs.cs
- SqlErrorCollection.cs
- PrimitiveSchema.cs
- HtmlUtf8RawTextWriter.cs
- WindowsFormsDesignerOptionService.cs
- Debug.cs
- SymbolMethod.cs
- ConsumerConnectionPoint.cs
- WindowsTab.cs
- TemplatedMailWebEventProvider.cs
- ConfigurationManagerInternalFactory.cs
- ExceptionHelpers.cs
- MultiDataTrigger.cs
- Attributes.cs
- SoapMessage.cs
- DesignerRegionMouseEventArgs.cs
- EventLogEntry.cs
- PointCollectionConverter.cs
- ReferentialConstraint.cs
- SiteIdentityPermission.cs
- OdbcReferenceCollection.cs
- StyleCollection.cs
- ListItemCollection.cs
- PropertyPathConverter.cs
- CodeNamespaceImport.cs
- RawMouseInputReport.cs
- EventMap.cs
- Rect.cs
- WebPartZoneAutoFormat.cs
- Currency.cs
- SpecialFolderEnumConverter.cs
- AmbientValueAttribute.cs
- Propagator.Evaluator.cs
- HtmlMeta.cs
- DataControlLinkButton.cs
- WaitHandle.cs
- TextTreeUndo.cs
- TextServicesCompartment.cs
- UITypeEditor.cs
- sitestring.cs
- BehaviorEditorPart.cs
- BitmapEffectState.cs
- PipeSecurity.cs
- DesigntimeLicenseContext.cs
- MediaTimeline.cs
- connectionpool.cs
- SecurityUtils.cs
- SqlBulkCopyColumnMappingCollection.cs
- ArraySet.cs
- MbpInfo.cs
- CodeBinaryOperatorExpression.cs
- BaseAddressPrefixFilterElement.cs
- HtmlTernaryTree.cs