Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// 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) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridViewSelectedRowCollection.cs
- DocumentViewerConstants.cs
- Operand.cs
- CodeTypeDelegate.cs
- Aggregates.cs
- MiniLockedBorderGlyph.cs
- XmlTextEncoder.cs
- ExitEventArgs.cs
- RegionInfo.cs
- JapaneseLunisolarCalendar.cs
- Vector.cs
- VectorAnimation.cs
- SurrogateDataContract.cs
- DecodeHelper.cs
- wmiutil.cs
- Binding.cs
- Transform3DGroup.cs
- Utility.cs
- AssemblyBuilderData.cs
- URLAttribute.cs
- MarshalDirectiveException.cs
- PerformanceCounterManager.cs
- DataKeyArray.cs
- MergeFailedEvent.cs
- PropertyMapper.cs
- TabControlAutomationPeer.cs
- IsolatedStorageFile.cs
- HtmlFormParameterWriter.cs
- ScriptResourceHandler.cs
- NavigationWindow.cs
- DllNotFoundException.cs
- InputLangChangeEvent.cs
- CommonDialog.cs
- Span.cs
- GlyphElement.cs
- TraceData.cs
- RequestCacheEntry.cs
- cache.cs
- DispatcherProcessingDisabled.cs
- LinkClickEvent.cs
- MetadataPropertyvalue.cs
- NamespaceEmitter.cs
- KnownIds.cs
- HttpProfileGroupBase.cs
- SRef.cs
- DefaultSection.cs
- TreeNodeConverter.cs
- PrtCap_Public_Simple.cs
- DateTimeFormatInfo.cs
- RectAnimationClockResource.cs
- ItemsChangedEventArgs.cs
- ZipIOBlockManager.cs
- AdRotator.cs
- QilTypeChecker.cs
- WaitForChangedResult.cs
- ExpressionServices.cs
- RenderData.cs
- CngProperty.cs
- ReadWriteControlDesigner.cs
- SmiXetterAccessMap.cs
- IdentityReference.cs
- StartUpEventArgs.cs
- XmlTextReaderImplHelpers.cs
- TimeSpanValidatorAttribute.cs
- WebScriptMetadataMessage.cs
- MimeParameter.cs
- AccessViolationException.cs
- ClosableStream.cs
- ExpressionBuilderCollection.cs
- DynamicEndpoint.cs
- ProtocolProfile.cs
- FormatConvertedBitmap.cs
- OdbcEnvironmentHandle.cs
- ExpressionBuilder.cs
- QuestionEventArgs.cs
- HorizontalAlignConverter.cs
- BinaryUtilClasses.cs
- FrameworkContentElementAutomationPeer.cs
- StateItem.cs
- FixedTextSelectionProcessor.cs
- EntityContainerRelationshipSetEnd.cs
- dtdvalidator.cs
- InkCollectionBehavior.cs
- Ray3DHitTestResult.cs
- FixedFlowMap.cs
- BasePattern.cs
- ExchangeUtilities.cs
- XmlTextReaderImplHelpers.cs
- WebPartTransformerCollection.cs
- ConfigUtil.cs
- RootDesignerSerializerAttribute.cs
- ViewLoader.cs
- SpecialTypeDataContract.cs
- ObjectCloneHelper.cs
- DbProviderConfigurationHandler.cs
- EventLogHandle.cs
- PackagingUtilities.cs
- COM2PropertyPageUITypeConverter.cs
- httpserverutility.cs
- MessagePartSpecification.cs