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
- WindowsGrip.cs
- TextModifierScope.cs
- precedingsibling.cs
- BaseCAMarshaler.cs
- ToolStripOverflow.cs
- ToolTipService.cs
- PaginationProgressEventArgs.cs
- HeaderCollection.cs
- ActivityCodeDomSerializer.cs
- EmbeddedObject.cs
- JsonEncodingStreamWrapper.cs
- GridViewUpdatedEventArgs.cs
- SelectionItemPattern.cs
- TraceHandlerErrorFormatter.cs
- Utilities.cs
- OptimizerPatterns.cs
- FormatVersion.cs
- StreamMarshaler.cs
- TcpChannelFactory.cs
- XslException.cs
- RotateTransform.cs
- ArrayTypeMismatchException.cs
- UserControlAutomationPeer.cs
- DoubleStorage.cs
- TextRenderingModeValidation.cs
- CombinedGeometry.cs
- StylusPoint.cs
- EdmToObjectNamespaceMap.cs
- ILGenerator.cs
- VisualStyleInformation.cs
- ConfigurationProperty.cs
- ArrayTypeMismatchException.cs
- EncodingTable.cs
- GridViewRow.cs
- TraceSource.cs
- OrderedDictionaryStateHelper.cs
- AuthenticatingEventArgs.cs
- PersianCalendar.cs
- DataObject.cs
- BooleanToVisibilityConverter.cs
- GridViewAutomationPeer.cs
- OrderingQueryOperator.cs
- ConnectionInterfaceCollection.cs
- SpellerInterop.cs
- QilParameter.cs
- embossbitmapeffect.cs
- EnterpriseServicesHelper.cs
- LinqDataSourceValidationException.cs
- DesignerDataRelationship.cs
- InvalidAsynchronousStateException.cs
- LogicalTreeHelper.cs
- FileDialogCustomPlace.cs
- DBDataPermissionAttribute.cs
- odbcmetadatafactory.cs
- BlockingCollection.cs
- WebPartConnectionsCancelEventArgs.cs
- ScheduleChanges.cs
- ModelItemExtensions.cs
- DesignerCatalogPartChrome.cs
- CompressedStack.cs
- OracleDataReader.cs
- RawKeyboardInputReport.cs
- SpecularMaterial.cs
- RequestQueryProcessor.cs
- WebPartEditorApplyVerb.cs
- FtpCachePolicyElement.cs
- ContentElementAutomationPeer.cs
- RadioButton.cs
- WebPartEditorOkVerb.cs
- XmlBufferReader.cs
- InputManager.cs
- DBSqlParserTableCollection.cs
- ConsoleCancelEventArgs.cs
- InputReport.cs
- DatePickerAutomationPeer.cs
- EntitySetBaseCollection.cs
- ParamArrayAttribute.cs
- pingexception.cs
- QueryOptionExpression.cs
- CodeActivityContext.cs
- _ListenerAsyncResult.cs
- ManifestResourceInfo.cs
- ProjectedWrapper.cs
- XmlEnumAttribute.cs
- CalendarTable.cs
- SingleConverter.cs
- base64Transforms.cs
- XmlSchemaNotation.cs
- DocumentApplicationJournalEntryEventArgs.cs
- configsystem.cs
- EpmCustomContentSerializer.cs
- CompositeTypefaceMetrics.cs
- MetadataSource.cs
- FormViewInsertEventArgs.cs
- TdsParserSafeHandles.cs
- OracleDataReader.cs
- ParameterEditorUserControl.cs
- WeakReadOnlyCollection.cs
- DecimalAnimation.cs
- ReliableMessagingVersion.cs