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
- CategoryNameCollection.cs
- QueryContinueDragEvent.cs
- XmlCharCheckingWriter.cs
- MbpInfo.cs
- CompilerWrapper.cs
- ModuleBuilder.cs
- UseAttributeSetsAction.cs
- Configuration.cs
- SafeLocalMemHandle.cs
- UIElement3D.cs
- DropShadowEffect.cs
- CategoriesDocument.cs
- OleDbError.cs
- Multiply.cs
- TimelineCollection.cs
- SQLGuidStorage.cs
- JournalEntryStack.cs
- PermissionToken.cs
- WebPartConnectVerb.cs
- ChannelReliableSession.cs
- InputLanguageProfileNotifySink.cs
- CodeMethodInvokeExpression.cs
- SessionState.cs
- TreeNodeCollection.cs
- EventProxy.cs
- MessageEventSubscriptionService.cs
- RegexReplacement.cs
- PeerNameRecord.cs
- PermissionListSet.cs
- RegexWriter.cs
- TraceLevelHelper.cs
- CommonRemoteMemoryBlock.cs
- ReaderWriterLock.cs
- DataViewManagerListItemTypeDescriptor.cs
- UpdateCommand.cs
- HMACSHA512.cs
- PropertyToken.cs
- BaseParaClient.cs
- SqlDelegatedTransaction.cs
- PropertyMap.cs
- ObjectDataSourceStatusEventArgs.cs
- GeneratedView.cs
- FontWeightConverter.cs
- InternalDuplexChannelListener.cs
- ToolStripDropDownDesigner.cs
- TypeConverter.cs
- Schema.cs
- CalendarDay.cs
- XmlBindingWorker.cs
- ProviderConnectionPoint.cs
- InfoCardSymmetricAlgorithm.cs
- EncryptedPackageFilter.cs
- HMACSHA384.cs
- XmlHierarchicalEnumerable.cs
- SymbolResolver.cs
- ResizeGrip.cs
- QuinticEase.cs
- SqlFacetAttribute.cs
- ControlCachePolicy.cs
- ContractSearchPattern.cs
- _HTTPDateParse.cs
- AutomationAttributeInfo.cs
- LinearGradientBrush.cs
- CorrelationService.cs
- FactoryGenerator.cs
- FixedSOMContainer.cs
- ConsoleKeyInfo.cs
- ResourceDescriptionAttribute.cs
- RegexCompilationInfo.cs
- XmlCountingReader.cs
- DesignerFrame.cs
- ListItem.cs
- XmlReader.cs
- XmlSchemaFacet.cs
- BitmapEffectInput.cs
- ContextBase.cs
- ChtmlPageAdapter.cs
- ToolStripContainer.cs
- CapabilitiesSection.cs
- remotingproxy.cs
- SQLInt16Storage.cs
- EntityContainerEntitySetDefiningQuery.cs
- XmlReturnWriter.cs
- OptimizerPatterns.cs
- TextRangeSerialization.cs
- ItemsControl.cs
- SiteMapPath.cs
- UserPreferenceChangedEventArgs.cs
- Attributes.cs
- COM2FontConverter.cs
- DefaultDiscoveryService.cs
- Query.cs
- BitmapEffectvisualstate.cs
- DataGridViewImageCell.cs
- BaseCAMarshaler.cs
- GridViewCancelEditEventArgs.cs
- GridErrorDlg.cs
- RuntimeCompatibilityAttribute.cs
- FieldTemplateFactory.cs
- DynamicDiscoSearcher.cs