Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DynamicActionMessageFilter.cs
- Currency.cs
- QuotedPrintableStream.cs
- LogicalExpr.cs
- ItemsChangedEventArgs.cs
- DropShadowBitmapEffect.cs
- DataConnectionHelper.cs
- BaseHashHelper.cs
- RectValueSerializer.cs
- CrossContextChannel.cs
- ChannelSettingsElement.cs
- X509CertificateTrustedIssuerElementCollection.cs
- FormViewInsertEventArgs.cs
- DataGridViewComboBoxEditingControl.cs
- DNS.cs
- MapPathBasedVirtualPathProvider.cs
- MarkedHighlightComponent.cs
- ThumbAutomationPeer.cs
- TTSEngineTypes.cs
- Stacktrace.cs
- Command.cs
- Debugger.cs
- DbConnectionStringCommon.cs
- Hashtable.cs
- DbXmlEnabledProviderManifest.cs
- EditableTreeList.cs
- ItemsControl.cs
- AttachedAnnotation.cs
- ObjectListCommandsPage.cs
- BookmarkList.cs
- ConfigurationManagerHelperFactory.cs
- SecurityKeyIdentifierClause.cs
- HandleInitializationContext.cs
- DataRow.cs
- IdentifierCollection.cs
- DesigntimeLicenseContext.cs
- Triangle.cs
- ToolStripPanelDesigner.cs
- ProfilePropertyNameValidator.cs
- MappedMetaModel.cs
- DataListItem.cs
- QuadraticEase.cs
- LocalizabilityAttribute.cs
- FlowDocumentReader.cs
- GroupBox.cs
- CalendarKeyboardHelper.cs
- MimeFormatter.cs
- SmtpLoginAuthenticationModule.cs
- TreeNode.cs
- Point3DKeyFrameCollection.cs
- PhoneCall.cs
- SqlEnums.cs
- StringUtil.cs
- ModelTreeManager.cs
- EncryptedPackage.cs
- VirtualizingPanel.cs
- XmlImplementation.cs
- NumberSubstitution.cs
- EntityDataSourceWrapper.cs
- DecoderFallbackWithFailureFlag.cs
- HttpHandlersSection.cs
- AsyncDataRequest.cs
- TextModifier.cs
- XsdBuilder.cs
- TransformerInfo.cs
- HttpResponse.cs
- ProfilePropertyNameValidator.cs
- LocatorManager.cs
- EmptyElement.cs
- DbCommandTree.cs
- ColumnProvider.cs
- WindowsPrincipal.cs
- Variable.cs
- _OverlappedAsyncResult.cs
- QilLiteral.cs
- UIElementPropertyUndoUnit.cs
- ParamArrayAttribute.cs
- RuntimeComponentFilter.cs
- PeerCustomResolverBindingElement.cs
- XmlSerializerNamespaces.cs
- SiteMapProvider.cs
- BrowsableAttribute.cs
- ColumnPropertiesGroup.cs
- ConstraintManager.cs
- TraceLog.cs
- CriticalHandle.cs
- _UriSyntax.cs
- MembershipUser.cs
- IndexedString.cs
- HostedHttpTransportManager.cs
- PropertyEmitter.cs
- SoapFault.cs
- SiblingIterators.cs
- httpserverutility.cs
- Cursors.cs
- NameValueConfigurationElement.cs
- RelationshipWrapper.cs
- SchemaImporter.cs
- CompilerGeneratedAttribute.cs
- TreeWalker.cs