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
- InkSerializer.cs
- AffineTransform3D.cs
- GcHandle.cs
- ToolStripButton.cs
- ProfileInfo.cs
- AssociationSetEnd.cs
- MinimizableAttributeTypeConverter.cs
- QueryStringParameter.cs
- ReadOnlyObservableCollection.cs
- WsdlImporter.cs
- CodeComment.cs
- ValueUtilsSmi.cs
- ResXBuildProvider.cs
- InvalidWMPVersionException.cs
- TypedReference.cs
- Rect.cs
- Ipv6Element.cs
- StyleBamlRecordReader.cs
- Binding.cs
- LogicalExpr.cs
- X509ChainPolicy.cs
- EventLogSession.cs
- Variable.cs
- ServiceNameCollection.cs
- ParseElement.cs
- MouseGesture.cs
- ObjectListItemCollection.cs
- XmlElement.cs
- Trace.cs
- SortedDictionary.cs
- HierarchicalDataTemplate.cs
- SystemIPv4InterfaceProperties.cs
- DataTemplateKey.cs
- IntSecurity.cs
- ValidationPropertyAttribute.cs
- EventSinkHelperWriter.cs
- FrameworkElementFactory.cs
- EntityConnectionStringBuilderItem.cs
- TimelineGroup.cs
- TemplateColumn.cs
- ISAPIApplicationHost.cs
- altserialization.cs
- NavigationProperty.cs
- SplineQuaternionKeyFrame.cs
- ListView.cs
- ApplicationCommands.cs
- Int16Animation.cs
- UnmanagedMemoryStreamWrapper.cs
- XmlSchema.cs
- KerberosSecurityTokenAuthenticator.cs
- BindingWorker.cs
- HostVisual.cs
- EventProviderWriter.cs
- UTF32Encoding.cs
- StringTraceRecord.cs
- ParamArrayAttribute.cs
- DetailsViewUpdatedEventArgs.cs
- SqlDataReaderSmi.cs
- ColumnReorderedEventArgs.cs
- BatchWriter.cs
- ComplexBindingPropertiesAttribute.cs
- FlowchartDesignerCommands.cs
- SendActivityEventArgs.cs
- IndentedTextWriter.cs
- ResXBuildProvider.cs
- DebugHandleTracker.cs
- ZipIOCentralDirectoryFileHeader.cs
- ImmComposition.cs
- SpotLight.cs
- HandleValueEditor.cs
- FrameworkContentElementAutomationPeer.cs
- XslVisitor.cs
- ProtocolsSection.cs
- CompiledQueryCacheEntry.cs
- MouseGestureValueSerializer.cs
- CatalogZoneBase.cs
- ErrorFormatter.cs
- ScriptControlDescriptor.cs
- Renderer.cs
- ComAdminInterfaces.cs
- HttpRawResponse.cs
- SmiRequestExecutor.cs
- ListControl.cs
- XmlSchema.cs
- HuffModule.cs
- MexTcpBindingCollectionElement.cs
- Popup.cs
- FlowPosition.cs
- EncryptedPackageFilter.cs
- CheckBoxBaseAdapter.cs
- CompilerHelpers.cs
- ContractCodeDomInfo.cs
- FileDialogCustomPlace.cs
- ComMethodElement.cs
- ApplicationActivator.cs
- CompiledRegexRunnerFactory.cs
- CodeLinePragma.cs
- FieldBuilder.cs
- CompoundFileStorageReference.cs
- DynamicMethod.cs