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
- IResourceProvider.cs
- EntityDataSourceReferenceGroup.cs
- DbParameterCollectionHelper.cs
- StorageEntityTypeMapping.cs
- Int32CollectionValueSerializer.cs
- ComponentDesigner.cs
- BaseProcessor.cs
- ProfileEventArgs.cs
- GridItemPatternIdentifiers.cs
- DBCSCodePageEncoding.cs
- DbTransaction.cs
- regiisutil.cs
- BigInt.cs
- HtmlCalendarAdapter.cs
- DbConnectionPoolIdentity.cs
- MetadataResolver.cs
- JsonObjectDataContract.cs
- LinqDataSourceView.cs
- LingerOption.cs
- HwndHost.cs
- DrawingBrush.cs
- GradientStop.cs
- PrivilegedConfigurationManager.cs
- DeferrableContent.cs
- DictionarySurrogate.cs
- SizeF.cs
- BaseComponentEditor.cs
- ObservableDictionary.cs
- CustomAttributeBuilder.cs
- X509SubjectKeyIdentifierClause.cs
- ValidatingPropertiesEventArgs.cs
- Size3D.cs
- SpellerStatusTable.cs
- EventEntry.cs
- BinaryObjectWriter.cs
- DefaultAssemblyResolver.cs
- XmlChildEnumerator.cs
- _LazyAsyncResult.cs
- TextBoxAutomationPeer.cs
- FileStream.cs
- Cloud.cs
- UpdateCompiler.cs
- ImageSource.cs
- JavaScriptSerializer.cs
- DataSourceHelper.cs
- DecimalConverter.cs
- KnownTypeDataContractResolver.cs
- ListBox.cs
- EFColumnProvider.cs
- PeerObject.cs
- ContextBase.cs
- MessageRpc.cs
- WindowsNonControl.cs
- ResXBuildProvider.cs
- DispatchOperationRuntime.cs
- ConsoleTraceListener.cs
- SoapTransportImporter.cs
- TransactedReceiveData.cs
- StorageAssociationTypeMapping.cs
- PointAnimationBase.cs
- SR.cs
- PhysicalFontFamily.cs
- TemplateKey.cs
- ZipIOBlockManager.cs
- TextTreeDeleteContentUndoUnit.cs
- HostedTcpTransportManager.cs
- WizardStepBase.cs
- AsymmetricKeyExchangeFormatter.cs
- ErrorsHelper.cs
- Perspective.cs
- FtpWebResponse.cs
- SqlMetaData.cs
- WpfWebRequestHelper.cs
- PathFigure.cs
- IssuanceLicense.cs
- GiveFeedbackEvent.cs
- DrawListViewItemEventArgs.cs
- GPRECTF.cs
- KeyedCollection.cs
- ErrorFormatter.cs
- PathFigureCollectionValueSerializer.cs
- NameValuePermission.cs
- DispatcherOperation.cs
- EdmComplexPropertyAttribute.cs
- NestedContainer.cs
- OptimizedTemplateContent.cs
- AccessibleObject.cs
- GrammarBuilder.cs
- ToolStripMenuItem.cs
- AlgoModule.cs
- AutoGeneratedField.cs
- DataSvcMapFileSerializer.cs
- XmlSecureResolver.cs
- ReliableInputConnection.cs
- XmlChoiceIdentifierAttribute.cs
- DataControlFieldCell.cs
- BooleanSwitch.cs
- Int16Converter.cs
- DataReceivedEventArgs.cs
- MemberInfoSerializationHolder.cs