Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EventProxy.cs
- TextRangeProviderWrapper.cs
- RootBrowserWindowProxy.cs
- GrammarBuilderWildcard.cs
- FileLevelControlBuilderAttribute.cs
- ScrollChrome.cs
- XmlWrappingWriter.cs
- PropertyMap.cs
- IndexedGlyphRun.cs
- ToolBar.cs
- EntityTypeBase.cs
- SqlNotificationEventArgs.cs
- HtmlAnchor.cs
- ContractHandle.cs
- XmlObjectSerializerWriteContextComplex.cs
- SrgsElement.cs
- TextServicesContext.cs
- RangeContentEnumerator.cs
- WebPartConnectionsEventArgs.cs
- EventMappingSettingsCollection.cs
- IntranetCredentialPolicy.cs
- NameValuePair.cs
- DataGridRelationshipRow.cs
- DesignerFrame.cs
- Rectangle.cs
- ThreadSafeList.cs
- XomlCompilerResults.cs
- OdbcConnectionString.cs
- NotifyCollectionChangedEventArgs.cs
- FixedSOMLineCollection.cs
- CompilationPass2Task.cs
- XmlnsCache.cs
- XmlSerializerImportOptions.cs
- ScaleTransform.cs
- WebPartConnectVerb.cs
- DataGridViewCellStyleChangedEventArgs.cs
- MimeBasePart.cs
- ViewCellRelation.cs
- ConditionChanges.cs
- InnerItemCollectionView.cs
- ProxyHelper.cs
- X509SubjectKeyIdentifierClause.cs
- XmlUtil.cs
- WebConfigurationHostFileChange.cs
- SafeFileMappingHandle.cs
- IsolationInterop.cs
- FormatVersion.cs
- SqlTriggerAttribute.cs
- SurrogateSelector.cs
- MailAddress.cs
- _Connection.cs
- ReadOnlyTernaryTree.cs
- LateBoundBitmapDecoder.cs
- MasterPageCodeDomTreeGenerator.cs
- TrustSection.cs
- SortableBindingList.cs
- MetadataItemSerializer.cs
- TypeExtensionConverter.cs
- InfoCardKeyedHashAlgorithm.cs
- FormatterServices.cs
- Facet.cs
- AsymmetricAlgorithm.cs
- InstanceStoreQueryResult.cs
- VisualStyleTypesAndProperties.cs
- TraceContext.cs
- MetaForeignKeyColumn.cs
- CompilerInfo.cs
- FontInfo.cs
- Range.cs
- ContextCorrelationInitializer.cs
- MatrixCamera.cs
- OleDbRowUpdatingEvent.cs
- CompilationSection.cs
- NameValuePermission.cs
- LineMetrics.cs
- FrameworkReadOnlyPropertyMetadata.cs
- MarkupCompilePass2.cs
- UseAttributeSetsAction.cs
- Stroke.cs
- ButtonColumn.cs
- FormParameter.cs
- AlternateView.cs
- TaskExtensions.cs
- TextTrailingWordEllipsis.cs
- Int16AnimationBase.cs
- ScrollProperties.cs
- CssTextWriter.cs
- NetTcpSectionData.cs
- SinglePageViewer.cs
- ManagedWndProcTracker.cs
- CodeLabeledStatement.cs
- MetadataArtifactLoader.cs
- ExpressionList.cs
- IdentitySection.cs
- TableLayoutPanelBehavior.cs
- _CommandStream.cs
- ClipboardProcessor.cs
- Oid.cs
- Geometry3D.cs
- WhitespaceReader.cs