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
- TextTreeRootNode.cs
- ParenExpr.cs
- SQLDateTimeStorage.cs
- UnknownBitmapDecoder.cs
- DockAndAnchorLayout.cs
- ipaddressinformationcollection.cs
- ClientTarget.cs
- DbDataReader.cs
- GradientBrush.cs
- TypeElement.cs
- PenContext.cs
- SqlDataSourceTableQuery.cs
- WebServiceResponse.cs
- NodeFunctions.cs
- ContextProperty.cs
- DrawingGroup.cs
- LabelTarget.cs
- Listbox.cs
- WindowsListViewGroupSubsetLink.cs
- SourceFilter.cs
- ZipFileInfo.cs
- _CommandStream.cs
- ListenerElementsCollection.cs
- Crc32.cs
- SQLGuidStorage.cs
- StrokeSerializer.cs
- LoginCancelEventArgs.cs
- Overlapped.cs
- PointLight.cs
- UnaryNode.cs
- DialogDivider.cs
- TempEnvironment.cs
- TextDpi.cs
- X509ChainElement.cs
- SoapInteropTypes.cs
- CompiledQueryCacheEntry.cs
- EdmSchemaError.cs
- mediapermission.cs
- DrawingContextWalker.cs
- RegexGroupCollection.cs
- hresults.cs
- StrokeCollectionConverter.cs
- SourceInterpreter.cs
- PolyLineSegment.cs
- ListViewSelectEventArgs.cs
- recordstate.cs
- ApplicationTrust.cs
- Publisher.cs
- Pen.cs
- QilVisitor.cs
- manifestimages.cs
- CustomErrorsSectionWrapper.cs
- RequestTimeoutManager.cs
- FontFamilyConverter.cs
- EditBehavior.cs
- PrintingPermission.cs
- PageParserFilter.cs
- AsymmetricAlgorithm.cs
- ConfigurationSectionGroup.cs
- SkewTransform.cs
- RadioButtonBaseAdapter.cs
- StateDesigner.TransitionInfo.cs
- PerformanceCounterManager.cs
- SoapMessage.cs
- ProcessHostFactoryHelper.cs
- PropertyRef.cs
- WebServiceBindingAttribute.cs
- HttpCachePolicy.cs
- FtpWebRequest.cs
- CryptoStream.cs
- _IPv6Address.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- dbdatarecord.cs
- PluggableProtocol.cs
- TagMapInfo.cs
- Soap11ServerProtocol.cs
- HexParser.cs
- CommandLineParser.cs
- XamlTemplateSerializer.cs
- Int16AnimationBase.cs
- SerializationInfoEnumerator.cs
- InteropAutomationProvider.cs
- HttpRequestCacheValidator.cs
- DefaultValueTypeConverter.cs
- PropertyMetadata.cs
- Model3DGroup.cs
- RouteParametersHelper.cs
- MetabaseReader.cs
- TableLayoutSettingsTypeConverter.cs
- SupportsEventValidationAttribute.cs
- TypeReference.cs
- ProcessModelInfo.cs
- EncoderNLS.cs
- EmptyControlCollection.cs
- ProxyManager.cs
- ConfigurationLocation.cs
- AbsoluteQuery.cs
- RelationshipType.cs
- DynamicILGenerator.cs
- Query.cs