Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ObjectMemberMapping.cs
- VariableQuery.cs
- WizardPanel.cs
- DrawingGroup.cs
- CodeTypeDelegate.cs
- DispatcherExceptionFilterEventArgs.cs
- SQLDecimalStorage.cs
- UiaCoreTypesApi.cs
- DbException.cs
- TimeManager.cs
- DbReferenceCollection.cs
- WebPartZone.cs
- OleDbEnumerator.cs
- PolicyException.cs
- UpdateTranslator.cs
- Vector3DKeyFrameCollection.cs
- Task.cs
- DesignerObject.cs
- XsltInput.cs
- RightsManagementEncryptionTransform.cs
- SqlFunctionAttribute.cs
- ValidationErrorEventArgs.cs
- FormattedTextSymbols.cs
- Base64Decoder.cs
- FlowLayoutPanelDesigner.cs
- FontFaceLayoutInfo.cs
- Unit.cs
- DataExchangeServiceBinder.cs
- GridErrorDlg.cs
- LogFlushAsyncResult.cs
- ScrollContentPresenter.cs
- LoginStatusDesigner.cs
- XPathEmptyIterator.cs
- BasicExpressionVisitor.cs
- UnauthorizedAccessException.cs
- DbDataSourceEnumerator.cs
- X509CertificateTrustedIssuerElementCollection.cs
- SoapIncludeAttribute.cs
- FrameworkElement.cs
- HttpHandlerAction.cs
- EntityDataSourceView.cs
- MenuRendererStandards.cs
- Rule.cs
- XPathAncestorQuery.cs
- ContextMenuStrip.cs
- WebPartZoneCollection.cs
- SimpleFieldTemplateFactory.cs
- PropertyGeneratedEventArgs.cs
- DataContext.cs
- ClickablePoint.cs
- MdbDataFileEditor.cs
- XamlSerializerUtil.cs
- ProgressBarRenderer.cs
- IndexedEnumerable.cs
- Hashtable.cs
- SQLInt16.cs
- COM2PropertyDescriptor.cs
- PropertyManager.cs
- SrgsToken.cs
- DynamicResourceExtensionConverter.cs
- MouseGestureConverter.cs
- ScaleTransform.cs
- RelationshipConverter.cs
- TimeZone.cs
- SequenceDesignerAccessibleObject.cs
- EnumerableCollectionView.cs
- HijriCalendar.cs
- NullableFloatSumAggregationOperator.cs
- StrokeCollectionDefaultValueFactory.cs
- StylusPointPropertyUnit.cs
- MetadataItemCollectionFactory.cs
- SqlDuplicator.cs
- SqlFormatter.cs
- OleDbCommand.cs
- MetadataItem.cs
- GridViewDeleteEventArgs.cs
- ListCollectionView.cs
- TcpWorkerProcess.cs
- ProtocolViolationException.cs
- HighContrastHelper.cs
- DriveNotFoundException.cs
- TemplateContainer.cs
- EventWaitHandle.cs
- Grant.cs
- XmlMtomWriter.cs
- TiffBitmapEncoder.cs
- XmlILIndex.cs
- XmlSchemaAttributeGroup.cs
- FormViewUpdatedEventArgs.cs
- SplashScreenNativeMethods.cs
- HttpCapabilitiesSectionHandler.cs
- ExternalDataExchangeService.cs
- CodeGroup.cs
- JsonEncodingStreamWrapper.cs
- InstanceNameConverter.cs
- DataServiceExpressionVisitor.cs
- TriggerActionCollection.cs
- Schedule.cs
- FilterException.cs
- Vector3D.cs