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
- LineGeometry.cs
- PropertyFilterAttribute.cs
- InternalUserCancelledException.cs
- ZipIOLocalFileBlock.cs
- NumberFunctions.cs
- VisualBrush.cs
- SqlBuilder.cs
- isolationinterop.cs
- EpmCustomContentWriterNodeData.cs
- SafeCertificateStore.cs
- EventManager.cs
- XmlParserContext.cs
- VScrollBar.cs
- GcHandle.cs
- PropertyToken.cs
- CTreeGenerator.cs
- DecimalConstantAttribute.cs
- HttpCapabilitiesEvaluator.cs
- InheritedPropertyChangedEventArgs.cs
- BoundsDrawingContextWalker.cs
- ToolTip.cs
- MetadataCache.cs
- ExpressionBuilder.cs
- UIElement3D.cs
- ListViewItem.cs
- ToolStripSystemRenderer.cs
- ThreadSafeList.cs
- ListViewSortEventArgs.cs
- MouseGesture.cs
- GeneralTransform3D.cs
- WebZone.cs
- InfoCardBaseException.cs
- ExtendedTransformFactory.cs
- CheckoutException.cs
- EventPropertyMap.cs
- MessageBox.cs
- OdbcConnection.cs
- PeerService.cs
- CatalogPartChrome.cs
- SafeThemeHandle.cs
- Utils.cs
- SemaphoreSecurity.cs
- SiteMap.cs
- PropertyChangedEventArgs.cs
- InvalidateEvent.cs
- EnumerableCollectionView.cs
- ModelEditingScope.cs
- TableCellAutomationPeer.cs
- SessionStateModule.cs
- UIElement3D.cs
- EventData.cs
- OleDbPropertySetGuid.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- DefaultTraceListener.cs
- GridEntryCollection.cs
- MeshGeometry3D.cs
- AddInController.cs
- PeerEndPoint.cs
- TransformProviderWrapper.cs
- FileDataSource.cs
- CultureTable.cs
- JobStaple.cs
- DateTimeStorage.cs
- BindingOperations.cs
- CompilerError.cs
- ResourcePool.cs
- OnOperation.cs
- Size.cs
- MetabaseSettingsIis7.cs
- MultipleViewPatternIdentifiers.cs
- WorkflowTraceTransfer.cs
- HierarchicalDataBoundControlAdapter.cs
- SqlCacheDependencySection.cs
- Drawing.cs
- HtmlTextBoxAdapter.cs
- baseaxisquery.cs
- SchemaNamespaceManager.cs
- DataGridViewCellStyleChangedEventArgs.cs
- TokenBasedSetEnumerator.cs
- XmlDataCollection.cs
- AsyncPostBackTrigger.cs
- ToolStripItem.cs
- PageClientProxyGenerator.cs
- StrokeDescriptor.cs
- CryptoApi.cs
- PasswordTextContainer.cs
- ObsoleteAttribute.cs
- _ScatterGatherBuffers.cs
- COM2ExtendedTypeConverter.cs
- AppDomainCompilerProxy.cs
- Rotation3DKeyFrameCollection.cs
- SecurityPermission.cs
- TextContainerHelper.cs
- InternalControlCollection.cs
- CodeTypeDeclaration.cs
- ThreadStaticAttribute.cs
- connectionpool.cs
- WindowsContainer.cs
- ToolStripComboBox.cs
- XmlElementList.cs