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
- BitmapEffectRenderDataResource.cs
- XmlSchemaInferenceException.cs
- shaperfactoryquerycachekey.cs
- MarshalDirectiveException.cs
- SerializationHelper.cs
- TriggerCollection.cs
- WindowInteropHelper.cs
- RuntimeConfigLKG.cs
- Semaphore.cs
- CollectionsUtil.cs
- IntPtr.cs
- DesignerTransactionCloseEvent.cs
- WebPartsSection.cs
- HtmlTernaryTree.cs
- VersionPair.cs
- StackSpiller.Temps.cs
- ExpressionLink.cs
- DbProviderServices.cs
- WebServiceTypeData.cs
- ListViewGroupConverter.cs
- SecondaryIndexDefinition.cs
- bidPrivateBase.cs
- MaterializeFromAtom.cs
- ConfigurationPermission.cs
- DependencySource.cs
- ConfigurationException.cs
- FillRuleValidation.cs
- ResolvedKeyFrameEntry.cs
- HealthMonitoringSection.cs
- ACL.cs
- BindableAttribute.cs
- StateDesigner.Layouts.cs
- DataGridViewTopRowAccessibleObject.cs
- RoutedEventHandlerInfo.cs
- ThumbButtonInfo.cs
- InheritanceContextChangedEventManager.cs
- AddInPipelineAttributes.cs
- querybuilder.cs
- AutomationFocusChangedEventArgs.cs
- XmlUTF8TextReader.cs
- GenericTypeParameterBuilder.cs
- HttpBufferlessInputStream.cs
- UriTemplateDispatchFormatter.cs
- HtmlInputRadioButton.cs
- RuntimeVariableList.cs
- ActivityDesignerLayoutSerializers.cs
- DataServiceQueryOfT.cs
- UnsafeNativeMethodsPenimc.cs
- CreateParams.cs
- MachineKeySection.cs
- ReceiveMessageRecord.cs
- ArraySubsetEnumerator.cs
- ContextMarshalException.cs
- PkcsUtils.cs
- ClockGroup.cs
- SystemColors.cs
- OperatingSystem.cs
- MessageQueuePermission.cs
- DesignerCommandSet.cs
- WindowsListViewItem.cs
- XmlAttributeCollection.cs
- DataGridViewCellConverter.cs
- DataGridTextBoxColumn.cs
- ChangePassword.cs
- TimeSpan.cs
- DateTimeStorage.cs
- VectorAnimationBase.cs
- UnsafeNativeMethodsPenimc.cs
- Module.cs
- CreateUserWizard.cs
- EndpointInfoCollection.cs
- LinqDataSourceView.cs
- SystemBrushes.cs
- MetadataItem.cs
- OracleSqlParser.cs
- UIElementPropertyUndoUnit.cs
- CalendarTable.cs
- ScriptingScriptResourceHandlerSection.cs
- SeekableReadStream.cs
- WizardStepCollectionEditor.cs
- Util.cs
- TcpWorkerProcess.cs
- InputEventArgs.cs
- SmtpMail.cs
- Color.cs
- JsonEncodingStreamWrapper.cs
- OutputCacheSettings.cs
- AutomationPeer.cs
- ArrayHelper.cs
- WebPartConnectionsCloseVerb.cs
- CorrelationTokenTypeConvertor.cs
- DesignerVerbCollection.cs
- IdleTimeoutMonitor.cs
- Decoder.cs
- ParameterReplacerVisitor.cs
- DataGridViewDataErrorEventArgs.cs
- LambdaValue.cs
- DependencyProperty.cs
- PTManager.cs
- SinglePageViewer.cs