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
- PrimitiveType.cs
- CustomAttributeBuilder.cs
- TrackingProfile.cs
- WebServiceBindingAttribute.cs
- PreservationFileWriter.cs
- CalendarAutomationPeer.cs
- SqlClientPermission.cs
- TreeNodeBindingDepthConverter.cs
- FileDataSourceCache.cs
- AtlasWeb.Designer.cs
- DataSourceCache.cs
- XmlDataSourceNodeDescriptor.cs
- JsonEnumDataContract.cs
- BookmarkList.cs
- EnumerableRowCollection.cs
- SiteMapNode.cs
- XPathAxisIterator.cs
- Transform3D.cs
- ImageDrawing.cs
- ReadContentAsBinaryHelper.cs
- SpeechEvent.cs
- Signature.cs
- TrackingRecord.cs
- UniqueTransportManagerRegistration.cs
- Profiler.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- EnumerableRowCollectionExtensions.cs
- DependencyObjectPropertyDescriptor.cs
- FileCodeGroup.cs
- ObjectKeyFrameCollection.cs
- MediaContext.cs
- PageSettings.cs
- Helper.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- NavigationWindow.cs
- NotificationContext.cs
- DataGridColumnStyleMappingNameEditor.cs
- XmlSchemaAttributeGroupRef.cs
- ConfigXmlAttribute.cs
- RelationshipSet.cs
- XamlVector3DCollectionSerializer.cs
- GridViewEditEventArgs.cs
- SystemFonts.cs
- errorpatternmatcher.cs
- RepeatButtonAutomationPeer.cs
- MultipleViewProviderWrapper.cs
- Command.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- BaseConfigurationRecord.cs
- WindowVisualStateTracker.cs
- basecomparevalidator.cs
- AttributeEmitter.cs
- ResourceDictionaryCollection.cs
- WebCategoryAttribute.cs
- GZipStream.cs
- BookmarkResumptionRecord.cs
- DPTypeDescriptorContext.cs
- TableCell.cs
- IconBitmapDecoder.cs
- XmlAttributeOverrides.cs
- OletxCommittableTransaction.cs
- CfgSemanticTag.cs
- GlobalizationAssembly.cs
- ColorBlend.cs
- AxisAngleRotation3D.cs
- Label.cs
- MutableAssemblyCacheEntry.cs
- SyndicationDeserializer.cs
- ServiceHostFactory.cs
- XAMLParseException.cs
- PrimitiveXmlSerializers.cs
- KeyEvent.cs
- BatchParser.cs
- PathFigureCollection.cs
- ForeignConstraint.cs
- ImageList.cs
- DataStreams.cs
- EventDescriptor.cs
- KeyConverter.cs
- XmlSchemaExternal.cs
- RedirectionProxy.cs
- uribuilder.cs
- PersistenceException.cs
- MouseGestureValueSerializer.cs
- VisualProxy.cs
- KeyedByTypeCollection.cs
- Rijndael.cs
- LedgerEntryCollection.cs
- AvTraceFormat.cs
- VirtualDirectoryMapping.cs
- ProviderManager.cs
- EventLogger.cs
- TextRange.cs
- BinaryFormatterWriter.cs
- TraceSection.cs
- TrackingWorkflowEventArgs.cs
- DigestTraceRecordHelper.cs
- EventMappingSettingsCollection.cs
- CheckBoxList.cs
- EmptyCollection.cs