Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / ComponentModel / InvalidAsynchronousStateException.cs / 1 / InvalidAsynchronousStateException.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.ComponentModel { using Microsoft.Win32; using System; using System.Diagnostics; using System.Globalization; using System.Runtime.Serialization; using System.Security.Permissions; ////// [HostProtection(SharedState = true)] [Serializable] public class InvalidAsynchronousStateException : ArgumentException { ///The exception that is thrown when a thread that an operation should execute on no longer exists or is not pumping messages ////// public InvalidAsynchronousStateException() : this(null) { } ///Initializes a new instance of the ///class without a message. /// public InvalidAsynchronousStateException(string message) : base(message) { } ///Initializes a new instance of the ///class with /// the specified message. /// Initializes a new instance of the Exception class with a specified error message and a /// reference to the inner exception that is the cause of this exception. /// public InvalidAsynchronousStateException(string message, Exception innerException ) : base(message, innerException) { } ////// Need this constructor since Exception implements ISerializable. We don't have any fields, /// so just forward this to base. /// protected InvalidAsynchronousStateException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Token.cs
- SqlProviderServices.cs
- DbProviderFactories.cs
- XmlDocument.cs
- MsmqChannelListenerBase.cs
- MasterPage.cs
- XmlTextReaderImplHelpers.cs
- StorageComplexTypeMapping.cs
- listviewsubitemcollectioneditor.cs
- UTF8Encoding.cs
- BufferedGraphics.cs
- ConditionalAttribute.cs
- KeyGestureConverter.cs
- ArraySet.cs
- DataKeyArray.cs
- MarginsConverter.cs
- PrivilegedConfigurationManager.cs
- HostedBindingBehavior.cs
- OperatorExpressions.cs
- ValidationSummary.cs
- MetafileHeader.cs
- ParsedAttributeCollection.cs
- AudioFormatConverter.cs
- ListenerElementsCollection.cs
- HtmlEncodedRawTextWriter.cs
- LineVisual.cs
- TextSpan.cs
- TypeForwardedFromAttribute.cs
- TraceLevelStore.cs
- SpellCheck.cs
- TickBar.cs
- RecordsAffectedEventArgs.cs
- TabControlToolboxItem.cs
- FactoryGenerator.cs
- PriorityChain.cs
- DecoderBestFitFallback.cs
- SqlTypeSystemProvider.cs
- DataGridViewDesigner.cs
- WebPartTransformer.cs
- GroupStyle.cs
- HtmlInputRadioButton.cs
- SimpleMailWebEventProvider.cs
- Size.cs
- AnimationLayer.cs
- ContentDefinition.cs
- XPathEmptyIterator.cs
- XmlBindingWorker.cs
- XmlDocumentFragment.cs
- XmlArrayAttribute.cs
- AttributeCollection.cs
- WebControlToolBoxItem.cs
- AssemblyCollection.cs
- UrlMappingsSection.cs
- CfgSemanticTag.cs
- RectangleGeometry.cs
- TableLayoutStyle.cs
- SharedMemory.cs
- DefaultPrintController.cs
- EntitySqlQueryState.cs
- DataSpaceManager.cs
- HttpModuleCollection.cs
- LineVisual.cs
- SqlDataSourceWizardForm.cs
- RowToFieldTransformer.cs
- __ConsoleStream.cs
- DirectoryNotFoundException.cs
- SimpleMailWebEventProvider.cs
- BuildManagerHost.cs
- GeometryDrawing.cs
- WorkflowInlining.cs
- UnmanagedMemoryAccessor.cs
- EdmValidator.cs
- ByteAnimationBase.cs
- LinkLabelLinkClickedEvent.cs
- RadioButton.cs
- HttpDictionary.cs
- XPathException.cs
- DataGridViewEditingControlShowingEventArgs.cs
- BitmapEffectState.cs
- HyperLink.cs
- DataControlCommands.cs
- Queue.cs
- PagedDataSource.cs
- DependencyPropertyKind.cs
- wmiutil.cs
- WbmpConverter.cs
- BinaryFormatter.cs
- DocumentViewerConstants.cs
- HandlerFactoryWrapper.cs
- RoleManagerSection.cs
- WindowsListViewSubItem.cs
- HiddenFieldPageStatePersister.cs
- TypeSystem.cs
- ApplyHostConfigurationBehavior.cs
- MethodBuilderInstantiation.cs
- DropShadowBitmapEffect.cs
- JournalNavigationScope.cs
- Lasso.cs
- CodeDirectoryCompiler.cs
- SingleSelectRootGridEntry.cs