Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SchemaCollectionCompiler.cs
- DataGridHyperlinkColumn.cs
- Rotation3DAnimationBase.cs
- CodeGen.cs
- TabControlCancelEvent.cs
- WebPartCloseVerb.cs
- LinqDataSourceHelper.cs
- SpellerInterop.cs
- SqlInfoMessageEvent.cs
- AliasExpr.cs
- HttpCachePolicyWrapper.cs
- ISAPIRuntime.cs
- EnumValAlphaComparer.cs
- ServiceOperationDetailViewControl.cs
- MarkupWriter.cs
- ProcessModule.cs
- AuthenticatingEventArgs.cs
- PropertyFilter.cs
- FixedTextPointer.cs
- TextTabProperties.cs
- DataGridRowClipboardEventArgs.cs
- XmlHierarchicalEnumerable.cs
- BinaryReader.cs
- UrlMappingCollection.cs
- FixedElement.cs
- CodeDirectiveCollection.cs
- DataControlPagerLinkButton.cs
- WindowsListViewGroup.cs
- AssemblyName.cs
- RoutedEventConverter.cs
- MouseGestureConverter.cs
- AliasedSlot.cs
- DataControlButton.cs
- TreeNodeSelectionProcessor.cs
- DesignerUtility.cs
- ConsumerConnectionPointCollection.cs
- XslAst.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- OdbcInfoMessageEvent.cs
- Span.cs
- Point.cs
- EditorBrowsableAttribute.cs
- XmlTextReaderImpl.cs
- DetailsViewInsertEventArgs.cs
- DataListItemEventArgs.cs
- SingleConverter.cs
- StructuredTypeInfo.cs
- ActivityExecutor.cs
- OutputCacheProfileCollection.cs
- HttpPostedFile.cs
- TableLayoutPanel.cs
- FixedBufferAttribute.cs
- TextContainer.cs
- PopOutPanel.cs
- XhtmlBasicListAdapter.cs
- ExceptionCollection.cs
- FacetChecker.cs
- FileLogRecordEnumerator.cs
- SqlFunctionAttribute.cs
- CdpEqualityComparer.cs
- ConsoleKeyInfo.cs
- AbandonedMutexException.cs
- LabelAutomationPeer.cs
- RefreshPropertiesAttribute.cs
- RulePatternOps.cs
- Image.cs
- DetailsViewInsertedEventArgs.cs
- WebPartMenuStyle.cs
- RelationshipManager.cs
- AlignmentYValidation.cs
- DirectoryNotFoundException.cs
- FixedSOMFixedBlock.cs
- OutputCacheProviderCollection.cs
- MetadataArtifactLoaderFile.cs
- FloatUtil.cs
- webbrowsersite.cs
- Symbol.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- UshortList2.cs
- DiscoveryReference.cs
- ProfileInfo.cs
- TransformConverter.cs
- _RegBlobWebProxyDataBuilder.cs
- Bits.cs
- DataGridViewButtonCell.cs
- SqlConnectionFactory.cs
- TextRunCacheImp.cs
- PersonalizationState.cs
- Run.cs
- ProcessModelSection.cs
- DataBoundLiteralControl.cs
- safex509handles.cs
- XmlEntity.cs
- HtmlInputReset.cs
- DataSourceGroupCollection.cs
- UxThemeWrapper.cs
- ObjectDataSourceChooseTypePanel.cs
- TypeBuilder.cs
- ipaddressinformationcollection.cs
- MultiByteCodec.cs