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
- MeasurementDCInfo.cs
- XmlText.cs
- SHA1.cs
- filewebrequest.cs
- SoapWriter.cs
- Link.cs
- XXXOnTypeBuilderInstantiation.cs
- cookiecontainer.cs
- UpdateExpressionVisitor.cs
- RIPEMD160.cs
- MSAANativeProvider.cs
- CharacterMetricsDictionary.cs
- SqlLiftIndependentRowExpressions.cs
- NativeRecognizer.cs
- dbdatarecord.cs
- ConfigXmlCDataSection.cs
- MethodBuilder.cs
- PreDigestedSignedInfo.cs
- CultureTableRecord.cs
- Context.cs
- RotateTransform.cs
- TemplateLookupAction.cs
- AncestorChangedEventArgs.cs
- Rfc2898DeriveBytes.cs
- SqlStream.cs
- XmlILAnnotation.cs
- DataProtection.cs
- XmlName.cs
- CacheRequest.cs
- ItemDragEvent.cs
- SmiEventStream.cs
- ContextStack.cs
- RolePrincipal.cs
- RuntimeWrappedException.cs
- AppLevelCompilationSectionCache.cs
- HashCodeCombiner.cs
- NavigationPropertyAccessor.cs
- HtmlTableCell.cs
- FixedSOMTableCell.cs
- VirtualizingPanel.cs
- RuleAction.cs
- GridSplitter.cs
- AsyncPostBackTrigger.cs
- PropertyDescriptorCollection.cs
- DataGridClipboardHelper.cs
- IItemContainerGenerator.cs
- WindowsIdentity.cs
- GACIdentityPermission.cs
- TrustLevelCollection.cs
- HttpResponseHeader.cs
- CompositionAdorner.cs
- DiscoveryClientOutputChannel.cs
- Misc.cs
- KeyValuePair.cs
- Decimal.cs
- CodeDOMProvider.cs
- Maps.cs
- FlowDocumentReaderAutomationPeer.cs
- MemberDescriptor.cs
- ToolStripItemClickedEventArgs.cs
- processwaithandle.cs
- DesignerToolStripControlHost.cs
- Atom10FormatterFactory.cs
- Native.cs
- Pts.cs
- BrowserCapabilitiesFactory.cs
- HealthMonitoringSectionHelper.cs
- RegexCompilationInfo.cs
- VisualStateChangedEventArgs.cs
- DataExpression.cs
- XmlTextAttribute.cs
- InternalCache.cs
- GcSettings.cs
- Soap.cs
- ToolStripPanelRow.cs
- CLSCompliantAttribute.cs
- MultiTrigger.cs
- WebPartCatalogCloseVerb.cs
- Viewport2DVisual3D.cs
- FontStyles.cs
- CacheAxisQuery.cs
- XmlSchemaRedefine.cs
- BaseCollection.cs
- ReadOnlyDataSourceView.cs
- ProjectionPruner.cs
- LoginView.cs
- EUCJPEncoding.cs
- InvalidTimeZoneException.cs
- TextPatternIdentifiers.cs
- Monitor.cs
- _IPv4Address.cs
- ListItem.cs
- KeyToListMap.cs
- EastAsianLunisolarCalendar.cs
- Int16AnimationBase.cs
- FunctionQuery.cs
- PropertyGridEditorPart.cs
- ProfilePropertySettings.cs
- SmtpCommands.cs
- UnmanagedMemoryStream.cs