Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- AnnotationHelper.cs
- TextTreeExtractElementUndoUnit.cs
- DataControlHelper.cs
- TypeInformation.cs
- TypeConverter.cs
- dtdvalidator.cs
- Propagator.ExtentPlaceholderCreator.cs
- WebPartEditorOkVerb.cs
- ListItem.cs
- ScrollableControl.cs
- CodeIdentifiers.cs
- ModelServiceImpl.cs
- EllipticalNodeOperations.cs
- SubstitutionList.cs
- Parameter.cs
- SequenceFullException.cs
- bindurihelper.cs
- SiteMapPath.cs
- ListViewTableRow.cs
- XPathExpr.cs
- Common.cs
- DataList.cs
- CFGGrammar.cs
- HttpCacheVaryByContentEncodings.cs
- MessageDecoder.cs
- StructuralComparisons.cs
- LayeredChannelListener.cs
- SupportingTokenSpecification.cs
- TableLayoutPanelCellPosition.cs
- XdrBuilder.cs
- TextBoxBase.cs
- TreeNodeCollectionEditor.cs
- CollectionContainer.cs
- UnaryQueryOperator.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- TableStyle.cs
- CoTaskMemSafeHandle.cs
- WhitespaceRuleReader.cs
- RMEnrollmentPage1.cs
- WindowsGraphicsWrapper.cs
- GC.cs
- EventMap.cs
- ImmComposition.cs
- DataKeyCollection.cs
- ResourcesBuildProvider.cs
- DesignerValidatorAdapter.cs
- LinkLabelLinkClickedEvent.cs
- ButtonRenderer.cs
- XhtmlBasicPhoneCallAdapter.cs
- GridViewPageEventArgs.cs
- FieldDescriptor.cs
- SqlInternalConnectionTds.cs
- NullRuntimeConfig.cs
- SoapAttributeAttribute.cs
- Expressions.cs
- KeyEvent.cs
- IsolatedStorageFilePermission.cs
- ProtectedConfiguration.cs
- PagesSection.cs
- BufferBuilder.cs
- TCPClient.cs
- base64Transforms.cs
- StringFunctions.cs
- DuplicateWaitObjectException.cs
- ListViewContainer.cs
- LocalServiceSecuritySettingsElement.cs
- UpDownBase.cs
- SecurityException.cs
- UnSafeCharBuffer.cs
- FtpCachePolicyElement.cs
- KnownIds.cs
- RoutedEventHandlerInfo.cs
- TemplateBamlRecordReader.cs
- RuleDefinitions.cs
- FrameworkContentElement.cs
- TypeSystem.cs
- AlgoModule.cs
- TTSEngineProxy.cs
- SchemaMapping.cs
- ToolStripPanelRenderEventArgs.cs
- ScrollBar.cs
- ActivityDesignerHelper.cs
- MultiBindingExpression.cs
- DataControlField.cs
- GroupBoxRenderer.cs
- CryptoKeySecurity.cs
- XmlValidatingReaderImpl.cs
- OuterGlowBitmapEffect.cs
- SettingsProperty.cs
- AssemblyEvidenceFactory.cs
- MasterPageCodeDomTreeGenerator.cs
- KnownIds.cs
- BinaryFormatter.cs
- DataGridViewComboBoxColumnDesigner.cs
- RemoteX509Token.cs
- SourceLocationProvider.cs
- MessageRpc.cs
- List.cs
- HttpWebRequestElement.cs
- InstanceDataCollection.cs