Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Threading / ThreadInterruptedException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- SplitContainerDesigner.cs
- UInt16.cs
- TextRenderer.cs
- TextEditorTyping.cs
- AccessorTable.cs
- EventWaitHandleSecurity.cs
- CacheMemory.cs
- AttributeData.cs
- FormsAuthenticationEventArgs.cs
- WindowsListViewItemCheckBox.cs
- NotificationContext.cs
- TableProviderWrapper.cs
- InvalidCardException.cs
- ModelFunctionTypeElement.cs
- InputLanguageProfileNotifySink.cs
- ToolStripArrowRenderEventArgs.cs
- Enum.cs
- BinHexEncoder.cs
- CompiledXpathExpr.cs
- Transform.cs
- ContourSegment.cs
- DocumentOrderComparer.cs
- SmtpAuthenticationManager.cs
- _emptywebproxy.cs
- TextSearch.cs
- GeneralTransformCollection.cs
- SrgsRule.cs
- XmlNode.cs
- AggregateException.cs
- ThreadPool.cs
- ScriptingWebServicesSectionGroup.cs
- ILGenerator.cs
- DataAdapter.cs
- CompilationLock.cs
- PartManifestEntry.cs
- ActiveDocumentEvent.cs
- OrderByQueryOptionExpression.cs
- SqlTriggerAttribute.cs
- DatatypeImplementation.cs
- IncrementalCompileAnalyzer.cs
- SmtpClient.cs
- GlyphInfoList.cs
- SqlProvider.cs
- ArgumentNullException.cs
- ProvidersHelper.cs
- wgx_commands.cs
- ConfigXmlSignificantWhitespace.cs
- AutomationAttributeInfo.cs
- ProfileEventArgs.cs
- PersistenceTypeAttribute.cs
- MediaPlayerState.cs
- ToolboxDataAttribute.cs
- StrokeCollection2.cs
- StrokeNodeData.cs
- HttpCachePolicy.cs
- CultureMapper.cs
- Mappings.cs
- CancelRequestedRecord.cs
- SoundPlayer.cs
- GeneratedCodeAttribute.cs
- UnitySerializationHolder.cs
- OracleBinary.cs
- RoleServiceManager.cs
- IndicFontClient.cs
- ServiceBusyException.cs
- Utils.cs
- LayoutInformation.cs
- Point3DCollection.cs
- TimeStampChecker.cs
- ConnectionStringsSection.cs
- AccessText.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- KeyInterop.cs
- WebPartConnectionsCloseVerb.cs
- ItemCollection.cs
- LightweightCodeGenerator.cs
- SvcFileManager.cs
- Int64KeyFrameCollection.cs
- xdrvalidator.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- AssemblyCacheEntry.cs
- ParallelLoopState.cs
- _SSPIWrapper.cs
- MediaCommands.cs
- FatalException.cs
- FixedDocument.cs
- SiteIdentityPermission.cs
- TextLineBreak.cs
- ServicePointManager.cs
- XmlException.cs
- DependencyPropertyDescriptor.cs
- Application.cs
- PointAnimationClockResource.cs
- FixedNode.cs
- NotImplementedException.cs
- SectionUpdates.cs
- HttpStaticObjectsCollectionWrapper.cs
- DataServiceRequestException.cs
- LinqDataSourceDisposeEventArgs.cs
- XmlElementList.cs