Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- Single.cs
- DetailsViewUpdateEventArgs.cs
- WorkflowServiceNamespace.cs
- OdbcFactory.cs
- XsdValidatingReader.cs
- Separator.cs
- ResourceContainer.cs
- ApplicationSecurityInfo.cs
- EntityViewGenerationAttribute.cs
- TextPatternIdentifiers.cs
- WebControlAdapter.cs
- DesignerAutoFormatStyle.cs
- DirectoryNotFoundException.cs
- FormViewUpdatedEventArgs.cs
- ButtonPopupAdapter.cs
- ItemChangedEventArgs.cs
- BrowserDefinition.cs
- HashCoreRequest.cs
- DocumentGridContextMenu.cs
- FormsAuthentication.cs
- Constants.cs
- InkCanvasSelection.cs
- EventInfo.cs
- StrokeCollection.cs
- CodeGeneratorOptions.cs
- ByteStreamMessageEncodingElement.cs
- InputMethod.cs
- SubclassTypeValidator.cs
- SmiSettersStream.cs
- ProfileGroupSettingsCollection.cs
- SurrogateEncoder.cs
- TreeNode.cs
- ExpressionBindingCollection.cs
- xdrvalidator.cs
- RtfToken.cs
- Rect.cs
- LogConverter.cs
- ContainerActivationHelper.cs
- ToolStripContainer.cs
- CaretElement.cs
- ComponentResourceKey.cs
- FullTrustAssembly.cs
- OdbcTransaction.cs
- TemplatePropertyEntry.cs
- ClaimComparer.cs
- PageCache.cs
- MailHeaderInfo.cs
- Trigger.cs
- DBConnectionString.cs
- RootBrowserWindow.cs
- UntypedNullExpression.cs
- SqlBulkCopy.cs
- FakeModelPropertyImpl.cs
- HttpServerUtilityBase.cs
- PolyBezierSegment.cs
- WebBrowserContainer.cs
- PolicyManager.cs
- SiteMapDataSource.cs
- NullPackagingPolicy.cs
- CustomAttributeBuilder.cs
- MetadataImporter.cs
- EncodingTable.cs
- SubstitutionResponseElement.cs
- ThreadExceptionDialog.cs
- AbstractSvcMapFileLoader.cs
- DateRangeEvent.cs
- ConcatQueryOperator.cs
- Timer.cs
- Block.cs
- Table.cs
- DataTransferEventArgs.cs
- DataColumnPropertyDescriptor.cs
- Type.cs
- MemoryMappedFileSecurity.cs
- ImageMap.cs
- DataPagerFieldCommandEventArgs.cs
- CodeTypeReferenceExpression.cs
- Directory.cs
- TreeNodeMouseHoverEvent.cs
- SmiMetaDataProperty.cs
- PrtCap_Public.cs
- FileDialog_Vista.cs
- TextServicesHost.cs
- EncodingStreamWrapper.cs
- MissingMethodException.cs
- DocumentPageTextView.cs
- XamlBuildTaskServices.cs
- BuildProvidersCompiler.cs
- EventRouteFactory.cs
- PieceNameHelper.cs
- DataTableMappingCollection.cs
- TextCharacters.cs
- ClockGroup.cs
- MsmqHostedTransportConfiguration.cs
- ComponentCommands.cs
- CanonicalFontFamilyReference.cs
- UriTemplatePathPartiallyEquivalentSet.cs
- DynamicDataExtensions.cs
- EntityDataSourceConfigureObjectContext.cs
- QilInvokeLateBound.cs