Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / AccessibleTech / longhorn / Automation / UIAutomationTypes / System / Windows / Automation / ElementNotEnabledException.cs / 1 / ElementNotEnabledException.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Exception thrown when client attemps to interact with a non- // enabled control (eg. Invoke a non-enabled button) // // History: // 08/06/2003 : [....] Created // //--------------------------------------------------------------------------- using System.Windows.Automation; using System; using System.Runtime.Serialization; using System.Security.Permissions; using MS.Win32; using MS.Internal.Automation; namespace System.Windows.Automation { ////// This exception is thrown when client code attemps to manipulate /// an element or control that is currently not enabled. /// [Serializable] #if (INTERNAL_COMPILE) internal class ElementNotEnabledException : InvalidOperationException #else public class ElementNotEnabledException : InvalidOperationException #endif { ////// Default constructor /// public ElementNotEnabledException() : base(SR.Get(SRID.ElementNotEnabled)) { HResult = UiaCoreTypesApi.UIA_E_ELEMENTNOTENABLED; } ////// constructor /// /// public ElementNotEnabledException(String message) : base(message) { HResult = UiaCoreTypesApi.UIA_E_ELEMENTNOTENABLED; } ////// constructor /// /// /// public ElementNotEnabledException(string message, Exception innerException) : base(message, innerException) { HResult = UiaCoreTypesApi.UIA_E_ELEMENTNOTENABLED; } ////// Constructor for serialization /// //CASRemoval:[SecurityPermissionAttribute(SecurityAction.Demand,SerializationFormatter=true)] protected ElementNotEnabledException(SerializationInfo info, StreamingContext context) : base(info, context) { HResult = UiaCoreTypesApi.UIA_E_ELEMENTNOTENABLED; } ////// 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
- CodeTypeMember.cs
- Crc32.cs
- DateTimeSerializationSection.cs
- DeclaredTypeValidator.cs
- ClassicBorderDecorator.cs
- sapiproxy.cs
- ConfigXmlDocument.cs
- HttpGetClientProtocol.cs
- HtmlToClrEventProxy.cs
- PartialArray.cs
- CodeSnippetStatement.cs
- DataGrid.cs
- EntitySqlQueryBuilder.cs
- SequenceDesigner.cs
- ToolStripSystemRenderer.cs
- AdRotator.cs
- xamlnodes.cs
- HttpListener.cs
- DateTimeConstantAttribute.cs
- FileSystemEnumerable.cs
- Package.cs
- RuntimeConfigLKG.cs
- ContainsRowNumberChecker.cs
- SiteOfOriginPart.cs
- ObjectTypeMapping.cs
- PrimitiveSchema.cs
- MarkupObject.cs
- FileStream.cs
- FixedTextContainer.cs
- SizeConverter.cs
- LinqDataSourceContextData.cs
- CodeNamespace.cs
- TagMapInfo.cs
- ReaderWriterLock.cs
- InputReport.cs
- MenuRendererStandards.cs
- Point.cs
- DesignTimeVisibleAttribute.cs
- MessageSecurityProtocol.cs
- DataSysAttribute.cs
- IisNotInstalledException.cs
- ExpandoClass.cs
- DataServiceQuery.cs
- PriorityChain.cs
- ListViewTableRow.cs
- ReversePositionQuery.cs
- MinMaxParagraphWidth.cs
- DataServiceExpressionVisitor.cs
- TextSimpleMarkerProperties.cs
- DesignConnectionCollection.cs
- ContractComponent.cs
- Trace.cs
- DataMemberAttribute.cs
- StreamInfo.cs
- RTLAwareMessageBox.cs
- XmlSchemaComplexType.cs
- HostedElements.cs
- ColumnMap.cs
- XPathExpr.cs
- SystemNetworkInterface.cs
- ActivityStatusChangeEventArgs.cs
- Typeface.cs
- XmlSchemaExporter.cs
- EntityWithKeyStrategy.cs
- BindingList.cs
- RestHandler.cs
- SplitterCancelEvent.cs
- LineBreakRecord.cs
- LocalizableAttribute.cs
- PointConverter.cs
- MD5.cs
- MeshGeometry3D.cs
- ThaiBuddhistCalendar.cs
- SystemIPv6InterfaceProperties.cs
- VisualBasic.cs
- RectAnimation.cs
- OracleTransaction.cs
- ContractValidationHelper.cs
- JsonQueryStringConverter.cs
- SqlDataSourceTableQuery.cs
- RadioButtonPopupAdapter.cs
- ErrorHandler.cs
- Switch.cs
- SetMemberBinder.cs
- BasicViewGenerator.cs
- SessionPageStateSection.cs
- SupportingTokenAuthenticatorSpecification.cs
- RawKeyboardInputReport.cs
- SmtpAuthenticationManager.cs
- CqlParser.cs
- SqlConnectionHelper.cs
- ConfigXmlWhitespace.cs
- UnauthorizedWebPart.cs
- DocumentSchemaValidator.cs
- DataGridHelper.cs
- COM2ComponentEditor.cs
- ParseChildrenAsPropertiesAttribute.cs
- RepeaterItemCollection.cs
- UpdateTracker.cs
- ErrorTableItemStyle.cs