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
- EntitySetBase.cs
- BinaryReader.cs
- OpenFileDialog.cs
- X500Name.cs
- Ops.cs
- TextBoxLine.cs
- FileUpload.cs
- HtmlInputRadioButton.cs
- Token.cs
- CapabilitiesRule.cs
- DateTime.cs
- ComboBoxDesigner.cs
- SocketStream.cs
- Vector3D.cs
- Schema.cs
- DependencyPropertyKey.cs
- GroupDescription.cs
- X509Chain.cs
- ChannelSinkStacks.cs
- ToolStripItemClickedEventArgs.cs
- SingleConverter.cs
- CodeDOMProvider.cs
- XmlWriterSettings.cs
- CodeDomConfigurationHandler.cs
- JsonGlobals.cs
- File.cs
- Journal.cs
- EventLogException.cs
- Bitmap.cs
- SspiNegotiationTokenProvider.cs
- CharacterShapingProperties.cs
- TextLineBreak.cs
- GridViewDeleteEventArgs.cs
- WinEventTracker.cs
- CompositeTypefaceMetrics.cs
- XPathNode.cs
- DataServiceHostFactory.cs
- PersonalizationStateInfo.cs
- Permission.cs
- WebEvents.cs
- TreeViewCancelEvent.cs
- GenericPrincipal.cs
- DataSourceXmlTextReader.cs
- ParserExtension.cs
- _BasicClient.cs
- NativeRightsManagementAPIsStructures.cs
- CodeLinePragma.cs
- DCSafeHandle.cs
- RichTextBox.cs
- ToolStripDropDownClosingEventArgs.cs
- StrongNameHelpers.cs
- XmlILIndex.cs
- ListControl.cs
- HashRepartitionEnumerator.cs
- RuntimeConfigLKG.cs
- Vector3DCollectionValueSerializer.cs
- ToolStripOverflowButton.cs
- XmlSchemaCollection.cs
- RegexRunnerFactory.cs
- ReferencedCollectionType.cs
- HttpInputStream.cs
- XmlBindingWorker.cs
- FixedDocument.cs
- BookmarkTable.cs
- UnsafeNativeMethods.cs
- HostProtectionPermission.cs
- SQLDateTimeStorage.cs
- HttpProfileGroupBase.cs
- ListViewTableRow.cs
- DurationConverter.cs
- AttributeQuery.cs
- MergeLocalizationDirectives.cs
- SettingsContext.cs
- invalidudtexception.cs
- TypeElement.cs
- CallSiteHelpers.cs
- DocumentPageView.cs
- OleCmdHelper.cs
- SqlFunctionAttribute.cs
- EmissiveMaterial.cs
- XPathItem.cs
- FontNamesConverter.cs
- MultipartIdentifier.cs
- DefaultAssemblyResolver.cs
- BaseDataBoundControl.cs
- SafeBitVector32.cs
- FlowDocumentView.cs
- CompilerParameters.cs
- counter.cs
- EllipticalNodeOperations.cs
- XpsS0ValidatingLoader.cs
- TemplateModeChangedEventArgs.cs
- EntityModelBuildProvider.cs
- CopyCodeAction.cs
- SafeBitVector32.cs
- XmlQuerySequence.cs
- StandardBindingCollectionElement.cs
- NativeMethods.cs
- WebPartZoneCollection.cs
- CancellationState.cs