Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / clr / src / BCL / System / Threading / ThreadInterruptedException.cs / 1 / ThreadInterruptedException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: ThreadInterruptedException ** ** ** Purpose: An exception class to indicate that the thread was interrupted ** from a waiting state. ** ** =============================================================================*/ namespace System.Threading { using System.Threading; using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class ThreadInterruptedException : SystemException { public ThreadInterruptedException() : base(GetMessageFromNativeResources(ExceptionMessageKind.ThreadInterrupted)) { SetErrorCode(__HResults.COR_E_THREADINTERRUPTED); } public ThreadInterruptedException(String message) : base(message) { SetErrorCode(__HResults.COR_E_THREADINTERRUPTED); } public ThreadInterruptedException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_THREADINTERRUPTED); } protected ThreadInterruptedException(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. // // ==--== /*============================================================================== ** ** Class: ThreadInterruptedException ** ** ** Purpose: An exception class to indicate that the thread was interrupted ** from a waiting state. ** ** =============================================================================*/ namespace System.Threading { using System.Threading; using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class ThreadInterruptedException : SystemException { public ThreadInterruptedException() : base(GetMessageFromNativeResources(ExceptionMessageKind.ThreadInterrupted)) { SetErrorCode(__HResults.COR_E_THREADINTERRUPTED); } public ThreadInterruptedException(String message) : base(message) { SetErrorCode(__HResults.COR_E_THREADINTERRUPTED); } public ThreadInterruptedException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_THREADINTERRUPTED); } protected ThreadInterruptedException(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
- TemplateColumn.cs
- OdbcStatementHandle.cs
- AvtEvent.cs
- ButtonStandardAdapter.cs
- CqlErrorHelper.cs
- MultiSelector.cs
- UnsafeNativeMethods.cs
- FrameworkElement.cs
- TextDecorationCollection.cs
- Image.cs
- ClientUrlResolverWrapper.cs
- DataAdapter.cs
- OdbcConnectionStringbuilder.cs
- ProjectionQueryOptionExpression.cs
- XmlDictionaryReader.cs
- Bezier.cs
- DbParameterCollection.cs
- NameSpaceExtractor.cs
- TextureBrush.cs
- HttpCookiesSection.cs
- DataFieldEditor.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- ObjectParameterCollection.cs
- Property.cs
- UriTemplateMatch.cs
- TimeZoneNotFoundException.cs
- EntityUtil.cs
- ForceCopyBuildProvider.cs
- AssociationType.cs
- SecurityHelper.cs
- Marshal.cs
- QueryExpr.cs
- XmlSchemaImport.cs
- _ScatterGatherBuffers.cs
- MediaTimeline.cs
- VisualStyleTypesAndProperties.cs
- ControlTemplate.cs
- BufferModesCollection.cs
- Timer.cs
- ConfigsHelper.cs
- RootBuilder.cs
- Graph.cs
- DispatcherHookEventArgs.cs
- LocationUpdates.cs
- HttpResponse.cs
- DocumentSequence.cs
- Optimizer.cs
- AmbientEnvironment.cs
- ParseNumbers.cs
- DbConnectionPool.cs
- CustomSignedXml.cs
- BitHelper.cs
- XmlQueryOutput.cs
- BitmapVisualManager.cs
- ToolStripContentPanel.cs
- LicFileLicenseProvider.cs
- ScrollChrome.cs
- SqlUnionizer.cs
- StringValueConverter.cs
- XPathExpr.cs
- PagerStyle.cs
- SHA1Managed.cs
- Environment.cs
- CodePropertyReferenceExpression.cs
- EdmSchemaAttribute.cs
- CodeCommentStatementCollection.cs
- SqlTypeConverter.cs
- IDReferencePropertyAttribute.cs
- ToolStripItemTextRenderEventArgs.cs
- MethodBody.cs
- ToolStripItemCollection.cs
- DataGridViewCellParsingEventArgs.cs
- _LocalDataStoreMgr.cs
- DataDocumentXPathNavigator.cs
- DiffuseMaterial.cs
- TargetControlTypeCache.cs
- CorrelationResolver.cs
- ToolStripPanelRow.cs
- Types.cs
- AggregationMinMaxHelpers.cs
- TokenBasedSetEnumerator.cs
- TypeConverter.cs
- SqlClientPermission.cs
- MenuItem.cs
- ChangeInterceptorAttribute.cs
- HWStack.cs
- WindowShowOrOpenTracker.cs
- FilePresentation.cs
- BuilderPropertyEntry.cs
- FontStyles.cs
- ImportContext.cs
- DBBindings.cs
- Instrumentation.cs
- CommandID.cs
- ObservableCollection.cs
- Font.cs
- XmlDataLoader.cs
- UTF32Encoding.cs
- SemaphoreSecurity.cs
- XNameTypeConverter.cs