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
- SamlSecurityToken.cs
- GridViewRowEventArgs.cs
- Comparer.cs
- NameHandler.cs
- ParameterSubsegment.cs
- SettingsPropertyValue.cs
- XmlNavigatorStack.cs
- QueryRewriter.cs
- SmtpTransport.cs
- CodeDesigner.cs
- TextFormatterHost.cs
- FixedSchema.cs
- RemoteWebConfigurationHostServer.cs
- followingquery.cs
- TextRange.cs
- ComponentManagerBroker.cs
- RC2CryptoServiceProvider.cs
- WriteTimeStream.cs
- SQLDouble.cs
- SqlDataSourceView.cs
- DataControlField.cs
- AffineTransform3D.cs
- SendAgentStatusRequest.cs
- ColumnHeader.cs
- SQLInt16.cs
- MultiPropertyDescriptorGridEntry.cs
- RightsManagementUser.cs
- BamlRecordReader.cs
- RuntimeIdentifierPropertyAttribute.cs
- HelpFileFileNameEditor.cs
- IListConverters.cs
- WindowsScroll.cs
- RecognizedPhrase.cs
- InternalSafeNativeMethods.cs
- ILGenerator.cs
- BufferAllocator.cs
- ReferenceEqualityComparer.cs
- KeyGestureValueSerializer.cs
- ServiceBusyException.cs
- OleDbConnectionInternal.cs
- InvalidPropValue.cs
- WpfKnownMemberInvoker.cs
- WorkflowMarkupSerializer.cs
- CFStream.cs
- InvalidateEvent.cs
- x509store.cs
- DoubleAnimationUsingPath.cs
- GenericParameterDataContract.cs
- WebBrowser.cs
- SqlDuplicator.cs
- HttpMethodAttribute.cs
- QilInvokeEarlyBound.cs
- SplitterEvent.cs
- XmlCharType.cs
- TemplatedWizardStep.cs
- DataBinding.cs
- SystemWebSectionGroup.cs
- EntityContainerEntitySetDefiningQuery.cs
- PolygonHotSpot.cs
- WindowProviderWrapper.cs
- DataSourceCacheDurationConverter.cs
- BindingExpressionUncommonField.cs
- DesignerDeviceConfig.cs
- RelationshipWrapper.cs
- AttachmentService.cs
- MasterPageBuildProvider.cs
- FocusWithinProperty.cs
- HttpListenerRequest.cs
- ClientData.cs
- ColorMatrix.cs
- CharEntityEncoderFallback.cs
- InkCanvasFeedbackAdorner.cs
- ExpressionLexer.cs
- ClaimTypes.cs
- SplineKeyFrames.cs
- WebPartHelpVerb.cs
- PerformanceCounterPermissionEntry.cs
- TargetException.cs
- SelectedDatesCollection.cs
- UxThemeWrapper.cs
- UnaryQueryOperator.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- CodeCatchClauseCollection.cs
- complextypematerializer.cs
- LineProperties.cs
- cookie.cs
- RegionData.cs
- SByteStorage.cs
- ScrollItemProviderWrapper.cs
- XmlSchemaSimpleTypeList.cs
- FormView.cs
- BindingManagerDataErrorEventArgs.cs
- httpserverutility.cs
- UriSectionData.cs
- CachedTypeface.cs
- Configuration.cs
- DbConnectionPoolOptions.cs
- DataBoundControlDesigner.cs
- JsonDeserializer.cs
- NamespaceCollection.cs