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
- WebResponse.cs
- MachineKeyConverter.cs
- EventListener.cs
- XmlIlVisitor.cs
- Compiler.cs
- SpeechAudioFormatInfo.cs
- DataKey.cs
- OdbcPermission.cs
- OutputScope.cs
- DataTableTypeConverter.cs
- DigitShape.cs
- Matrix3DValueSerializer.cs
- ConsoleTraceListener.cs
- FieldBuilder.cs
- Wow64ConfigurationLoader.cs
- SecurityElement.cs
- NativeCppClassAttribute.cs
- UriScheme.cs
- HijriCalendar.cs
- AccessDataSource.cs
- CodeDomConfigurationHandler.cs
- SQLResource.cs
- RangeValuePattern.cs
- ConfigurationSectionCollection.cs
- TextTreeInsertUndoUnit.cs
- SiteMapPath.cs
- WebConvert.cs
- BamlBinaryReader.cs
- InvokePattern.cs
- TreeNodeStyleCollection.cs
- DodSequenceMerge.cs
- Model3D.cs
- HttpListenerException.cs
- PolyLineSegmentFigureLogic.cs
- MatchAttribute.cs
- RoleManagerModule.cs
- StatusBar.cs
- BitmapDownload.cs
- DecimalAnimationBase.cs
- SqlBuilder.cs
- ListBindingHelper.cs
- TrackPointCollection.cs
- DesignerRegion.cs
- HMACSHA1.cs
- ScriptingProfileServiceSection.cs
- FacetDescription.cs
- UIElementParaClient.cs
- SafeRsaProviderHandle.cs
- ApplicationFileCodeDomTreeGenerator.cs
- QilCloneVisitor.cs
- PreProcessInputEventArgs.cs
- XmlSchemaValidationException.cs
- RankException.cs
- StringSorter.cs
- XmlNodeReader.cs
- CompositeFontInfo.cs
- ReflectTypeDescriptionProvider.cs
- QueryAccessibilityHelpEvent.cs
- UnmanagedMemoryStream.cs
- QEncodedStream.cs
- BufferModeSettings.cs
- AspCompat.cs
- PeerResolver.cs
- PagesSection.cs
- DataGridViewColumn.cs
- PointUtil.cs
- CustomLineCap.cs
- HtmlTableCell.cs
- RuntimeConfig.cs
- WindowHideOrCloseTracker.cs
- KeyFrames.cs
- EdmError.cs
- ComponentDispatcher.cs
- InvokeMethodActivityDesigner.cs
- PrefixQName.cs
- ComponentDispatcherThread.cs
- TransformedBitmap.cs
- Thickness.cs
- cryptoapiTransform.cs
- CodeCompiler.cs
- TextRange.cs
- CellTreeNodeVisitors.cs
- SelectedGridItemChangedEvent.cs
- SingleStorage.cs
- CompoundFileDeflateTransform.cs
- shaper.cs
- ToolStripPanel.cs
- WhitespaceRuleReader.cs
- CardSpaceException.cs
- UIElementHelper.cs
- ParenthesizePropertyNameAttribute.cs
- ArgumentOutOfRangeException.cs
- XmlSchemaNotation.cs
- DataGridDesigner.cs
- TlsnegoTokenAuthenticator.cs
- XdrBuilder.cs
- MessageSecurityProtocol.cs
- PerformanceCounterPermission.cs
- ReverseQueryOperator.cs
- WebRequestModuleElementCollection.cs