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
- Annotation.cs
- RowBinding.cs
- AutoCompleteStringCollection.cs
- Root.cs
- PolyLineSegmentFigureLogic.cs
- AutoResetEvent.cs
- Unit.cs
- SoapSchemaImporter.cs
- IisTraceListener.cs
- _RequestCacheProtocol.cs
- MonthChangedEventArgs.cs
- PKCS1MaskGenerationMethod.cs
- WebConvert.cs
- UrlMappingsModule.cs
- WebEventTraceProvider.cs
- ADConnectionHelper.cs
- NetworkInformationException.cs
- unsafeIndexingFilterStream.cs
- Listbox.cs
- TreeViewHitTestInfo.cs
- Material.cs
- WorkflowElementDialog.cs
- Sql8ExpressionRewriter.cs
- SqlNodeTypeOperators.cs
- XmlDocumentType.cs
- DBSqlParserColumn.cs
- MdImport.cs
- PointUtil.cs
- ReflectEventDescriptor.cs
- XmlEventCache.cs
- CodeGenerator.cs
- OdbcCommandBuilder.cs
- Domain.cs
- SmiEventStream.cs
- QilSortKey.cs
- HttpContext.cs
- ManifestResourceInfo.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- StackBuilderSink.cs
- StateItem.cs
- DefaultValueTypeConverter.cs
- RawUIStateInputReport.cs
- RemoteWebConfigurationHostServer.cs
- StringValidator.cs
- IsolatedStoragePermission.cs
- AddInProcess.cs
- SqlException.cs
- AccessibleObject.cs
- ScriptControl.cs
- SqlInternalConnectionSmi.cs
- QueryReaderSettings.cs
- Literal.cs
- GridViewRow.cs
- PrintDialog.cs
- DesignerView.Commands.cs
- HttpCacheParams.cs
- HyperlinkAutomationPeer.cs
- AdRotatorDesigner.cs
- Font.cs
- PointValueSerializer.cs
- StorageEntityTypeMapping.cs
- URLIdentityPermission.cs
- initElementDictionary.cs
- VariableBinder.cs
- ReadOnlyCollectionBuilder.cs
- LinkedResourceCollection.cs
- ParagraphVisual.cs
- IIS7WorkerRequest.cs
- SQLSingleStorage.cs
- PingReply.cs
- UTF7Encoding.cs
- AttributeCollection.cs
- JsonDeserializer.cs
- UInt64Storage.cs
- AssemblyUtil.cs
- HostedBindingBehavior.cs
- RegexGroup.cs
- SharedPersonalizationStateInfo.cs
- Event.cs
- ItemsPresenter.cs
- UriTemplateDispatchFormatter.cs
- CutCopyPasteHelper.cs
- XamlNamespaceHelper.cs
- DataListCommandEventArgs.cs
- DesignerDataParameter.cs
- IpcManager.cs
- DataGridSortCommandEventArgs.cs
- XamlDesignerSerializationManager.cs
- NamespaceDecl.cs
- ObjectFullSpanRewriter.cs
- ToolStripItemCollection.cs
- PackageDigitalSignatureManager.cs
- FixedSOMFixedBlock.cs
- TextSerializer.cs
- SmtpCommands.cs
- RequestContext.cs
- SRGSCompiler.cs
- PageBreakRecord.cs
- TransformerTypeCollection.cs
- OleDbMetaDataFactory.cs