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
- ToolboxItem.cs
- SqlIdentifier.cs
- LineBreakRecord.cs
- AnonymousIdentificationSection.cs
- ProviderConnectionPoint.cs
- ManifestResourceInfo.cs
- SiteMapPath.cs
- XmlSchemaObjectCollection.cs
- TextElement.cs
- Vector.cs
- FileDialog_Vista.cs
- DesignerSerializerAttribute.cs
- TextBoxLine.cs
- MiniParameterInfo.cs
- PreservationFileWriter.cs
- DialogResultConverter.cs
- TargetPerspective.cs
- SafeFindHandle.cs
- CrossSiteScriptingValidation.cs
- FilterRepeater.cs
- EdmToObjectNamespaceMap.cs
- Html32TextWriter.cs
- Column.cs
- PrimaryKeyTypeConverter.cs
- MessageQueuePermissionEntryCollection.cs
- EntitySqlQueryBuilder.cs
- QuaternionAnimation.cs
- ErrorsHelper.cs
- PersonalizationState.cs
- DecimalStorage.cs
- Icon.cs
- ReadOnlyHierarchicalDataSource.cs
- DesignerActionKeyboardBehavior.cs
- Activator.cs
- EventLogEntry.cs
- UnmanagedHandle.cs
- Char.cs
- Invariant.cs
- HttpModule.cs
- MulticastDelegate.cs
- BevelBitmapEffect.cs
- ILGenerator.cs
- OleDbEnumerator.cs
- EncoderParameters.cs
- LogicalTreeHelper.cs
- ValidationError.cs
- XmlHelper.cs
- PersistChildrenAttribute.cs
- Column.cs
- TextContainerChangeEventArgs.cs
- ScriptResourceInfo.cs
- XPathDocumentNavigator.cs
- AnnotationMap.cs
- TransactionTable.cs
- HtmlInputRadioButton.cs
- QueryContinueDragEvent.cs
- SqlClientFactory.cs
- ThousandthOfEmRealDoubles.cs
- XmlSchemaSimpleType.cs
- Mouse.cs
- ConfigurationLoader.cs
- SqlDataSourceTableQuery.cs
- NodeFunctions.cs
- XmlSequenceWriter.cs
- UInt64Converter.cs
- ContextMenuStripGroupCollection.cs
- DecimalAnimationBase.cs
- MenuItem.cs
- EntityContainer.cs
- OneOf.cs
- HotSpotCollection.cs
- SectionInput.cs
- DbConvert.cs
- EntityAdapter.cs
- HttpCapabilitiesEvaluator.cs
- HttpWebRequest.cs
- ZoomPercentageConverter.cs
- AdornerHitTestResult.cs
- HMAC.cs
- SudsCommon.cs
- HtmlElementCollection.cs
- OnOperation.cs
- Evidence.cs
- Parser.cs
- TreeNodeClickEventArgs.cs
- Activator.cs
- PasswordRecovery.cs
- ValidationUtility.cs
- FlowDocument.cs
- Quaternion.cs
- ViewManager.cs
- TextMetrics.cs
- AppDomainFactory.cs
- HttpContextBase.cs
- InstanceContextMode.cs
- TextInfo.cs
- ControlCollection.cs
- DataControlFieldCell.cs
- DataControlButton.cs
- OdbcUtils.cs