Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Threading / Tasks / TaskSchedulerException.cs / 1305376 / TaskSchedulerException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ // // TaskSchedulerException.cs // //[....] // // An exception for task schedulers. // // =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- using System; using System.Runtime.InteropServices; using System.Runtime.Serialization; namespace System.Threading.Tasks { ////// Represents an exception used to communicate an invalid operation by a /// [Serializable] public class TaskSchedulerException : Exception { ///. /// /// Initializes a new instance of the public TaskSchedulerException() : base(Environment.GetResourceString("TaskSchedulerException_ctor_DefaultMessage")) // { } ///class. /// /// Initializes a new instance of the /// The error message that explains the reason for the exception. public TaskSchedulerException(string message) : base(message) { } ////// class with a specified error message. /// /// Initializes a new instance of the /// The exception that is the cause of the current exception. public TaskSchedulerException(Exception innerException) : base(Environment.GetResourceString("TaskSchedulerException_ctor_DefaultMessage"), innerException) { } ////// class using the default error message and a reference to the inner exception that is the cause of /// this exception. /// /// Initializes a new instance of the /// The error message that explains the reason for the exception. /// The exception that is the cause of the current exception. public TaskSchedulerException(string message, Exception innerException) : base(message, innerException) { } ////// class with a specified error message and a reference to the inner exception that is the cause of /// this exception. /// /// Initializes a new instance of the /// The/// class with serialized data. /// that holds /// the serialized object data about the exception being thrown. /// The that /// contains contextual information about the source or destination. protected TaskSchedulerException(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. // // ==--== // =+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ // // TaskSchedulerException.cs // // [....] // // An exception for task schedulers. // // =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- using System; using System.Runtime.InteropServices; using System.Runtime.Serialization; namespace System.Threading.Tasks { ////// Represents an exception used to communicate an invalid operation by a /// [Serializable] public class TaskSchedulerException : Exception { ///. /// /// Initializes a new instance of the public TaskSchedulerException() : base(Environment.GetResourceString("TaskSchedulerException_ctor_DefaultMessage")) // { } ///class. /// /// Initializes a new instance of the /// The error message that explains the reason for the exception. public TaskSchedulerException(string message) : base(message) { } ////// class with a specified error message. /// /// Initializes a new instance of the /// The exception that is the cause of the current exception. public TaskSchedulerException(Exception innerException) : base(Environment.GetResourceString("TaskSchedulerException_ctor_DefaultMessage"), innerException) { } ////// class using the default error message and a reference to the inner exception that is the cause of /// this exception. /// /// Initializes a new instance of the /// The error message that explains the reason for the exception. /// The exception that is the cause of the current exception. public TaskSchedulerException(string message, Exception innerException) : base(message, innerException) { } ////// class with a specified error message and a reference to the inner exception that is the cause of /// this exception. /// /// Initializes a new instance of the /// The/// class with serialized data. /// that holds /// the serialized object data about the exception being thrown. /// The that /// contains contextual information about the source or destination. protected TaskSchedulerException(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
- TouchEventArgs.cs
- ImageInfo.cs
- AppDomainCompilerProxy.cs
- WebBrowserDocumentCompletedEventHandler.cs
- ClientTarget.cs
- ChildTable.cs
- ContentIterators.cs
- StylusCaptureWithinProperty.cs
- RectAnimationBase.cs
- DiscoveryMessageSequence11.cs
- DiscreteKeyFrames.cs
- SocketInformation.cs
- TrackingDataItemValue.cs
- EmptyEnumerable.cs
- ConvertersCollection.cs
- CharEntityEncoderFallback.cs
- HttpWebResponse.cs
- LinearQuaternionKeyFrame.cs
- XPathSelectionIterator.cs
- BulletedList.cs
- ExtensibleClassFactory.cs
- WorkflowItemsPresenter.cs
- OletxResourceManager.cs
- StyleXamlTreeBuilder.cs
- XmlSchemaAttributeGroupRef.cs
- DbDataRecord.cs
- WinInet.cs
- ToolTipAutomationPeer.cs
- ClientApiGenerator.cs
- SiteOfOriginContainer.cs
- CommonObjectSecurity.cs
- InternalCompensate.cs
- OleDbCommand.cs
- PropertyManager.cs
- DiscoveryClientChannelBase.cs
- CaseInsensitiveHashCodeProvider.cs
- RSAProtectedConfigurationProvider.cs
- securestring.cs
- RenderDataDrawingContext.cs
- ProxySimple.cs
- SqlCharStream.cs
- AsymmetricKeyExchangeDeformatter.cs
- unsafenativemethodstextservices.cs
- UIInitializationException.cs
- XmlDataSource.cs
- TranslateTransform3D.cs
- TableRow.cs
- DataSourceHelper.cs
- TabControlAutomationPeer.cs
- UniqueIdentifierService.cs
- GestureRecognitionResult.cs
- SqlDataSourceView.cs
- ColumnHeaderConverter.cs
- PersistenceTypeAttribute.cs
- Page.cs
- CodeIdentifiers.cs
- TypeListConverter.cs
- ReflectTypeDescriptionProvider.cs
- XMLSyntaxException.cs
- Rotation3DAnimationBase.cs
- Int32RectConverter.cs
- TargetInvocationException.cs
- WrapperSecurityCommunicationObject.cs
- TextTreeInsertUndoUnit.cs
- BoolExpressionVisitors.cs
- WebConfigurationFileMap.cs
- ObjectDataSource.cs
- CapabilitiesUse.cs
- CompensatableTransactionScopeActivity.cs
- OledbConnectionStringbuilder.cs
- CompositeFontFamily.cs
- InertiaTranslationBehavior.cs
- DeferredTextReference.cs
- FlagsAttribute.cs
- SqlUserDefinedTypeAttribute.cs
- RowParagraph.cs
- NetPeerTcpBindingElement.cs
- EventProviderTraceListener.cs
- XmlSchemaComplexContent.cs
- PrinterSettings.cs
- FieldNameLookup.cs
- FlatButtonAppearance.cs
- Signature.cs
- TreeNode.cs
- StyleCollection.cs
- Utils.cs
- WebContext.cs
- TrackBar.cs
- DrawingGroup.cs
- EventRecord.cs
- StyleSheetComponentEditor.cs
- Psha1DerivedKeyGenerator.cs
- EnvelopedPkcs7.cs
- PrimitiveSchema.cs
- ItemsPanelTemplate.cs
- HwndAppCommandInputProvider.cs
- BamlTreeUpdater.cs
- DBDataPermission.cs
- ImageConverter.cs
- CompositeDataBoundControl.cs