Code:
/ FX-1434 / FX-1434 / 1.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
- DataGridState.cs
- HttpHandlerActionCollection.cs
- GenericsNotImplementedException.cs
- HtmlEmptyTagControlBuilder.cs
- PrtCap_Builder.cs
- DaylightTime.cs
- SimpleMailWebEventProvider.cs
- ObjectMemberMapping.cs
- ExceptionAggregator.cs
- WindowsFormsSectionHandler.cs
- HtmlEmptyTagControlBuilder.cs
- QuinticEase.cs
- ScrollBarRenderer.cs
- ObjectItemAttributeAssemblyLoader.cs
- ProcessModule.cs
- EntityStoreSchemaGenerator.cs
- XmlFormatReaderGenerator.cs
- CatalogPartDesigner.cs
- ProfileSettings.cs
- ResourceKey.cs
- FormsAuthentication.cs
- FileEnumerator.cs
- UntypedNullExpression.cs
- ellipse.cs
- KeyInfo.cs
- GlobalProxySelection.cs
- CodeTypeMemberCollection.cs
- DateRangeEvent.cs
- RtfControlWordInfo.cs
- ConnectionManagementElement.cs
- LoaderAllocator.cs
- BreadCrumbTextConverter.cs
- ProxyGenerator.cs
- WindowsFormsHostAutomationPeer.cs
- WorkflowApplicationUnhandledExceptionEventArgs.cs
- Misc.cs
- storagemappingitemcollection.viewdictionary.cs
- _ConnectStream.cs
- BehaviorEditorPart.cs
- SatelliteContractVersionAttribute.cs
- ConfigXmlDocument.cs
- IriParsingElement.cs
- xmlformatgeneratorstatics.cs
- DataGridViewRowStateChangedEventArgs.cs
- UpdateProgress.cs
- EntityDataReader.cs
- AuthenticateEventArgs.cs
- IxmlLineInfo.cs
- HwndSourceParameters.cs
- EdmPropertyAttribute.cs
- CrossContextChannel.cs
- RubberbandSelector.cs
- FilteredDataSetHelper.cs
- SqlDataSourceSummaryPanel.cs
- DirectoryGroupQuery.cs
- VScrollBar.cs
- DataGridViewRowPostPaintEventArgs.cs
- AmbientEnvironment.cs
- SizeAnimationClockResource.cs
- DataMemberConverter.cs
- SqlRemoveConstantOrderBy.cs
- DataRowChangeEvent.cs
- FocusChangedEventArgs.cs
- BypassElementCollection.cs
- SetterBaseCollection.cs
- BooleanStorage.cs
- PermissionSetEnumerator.cs
- CodeDomLoader.cs
- ResourceContainer.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- ManagedIStream.cs
- SelectionBorderGlyph.cs
- SpeakProgressEventArgs.cs
- SafeFindHandle.cs
- CodeExporter.cs
- UserNameSecurityTokenAuthenticator.cs
- GenericAuthenticationEventArgs.cs
- BitmapEffectvisualstate.cs
- Msec.cs
- PermissionListSet.cs
- CriticalHandle.cs
- VirtualPathData.cs
- AddInProcess.cs
- IncrementalReadDecoders.cs
- BrowserCapabilitiesFactory.cs
- Automation.cs
- DataObjectPastingEventArgs.cs
- CharacterHit.cs
- OleDbException.cs
- SqlTriggerContext.cs
- GeneralTransformCollection.cs
- Properties.cs
- NoResizeSelectionBorderGlyph.cs
- TextTreeInsertElementUndoUnit.cs
- Int32CollectionValueSerializer.cs
- UnSafeCharBuffer.cs
- EtwTrackingParticipant.cs
- XamlStackWriter.cs
- TrackingExtract.cs
- HighlightVisual.cs