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
- DetailsViewUpdateEventArgs.cs
- WindowsListBox.cs
- ArrangedElementCollection.cs
- PageRequestManager.cs
- Script.cs
- CategoryNameCollection.cs
- PolyLineSegmentFigureLogic.cs
- PreviewKeyDownEventArgs.cs
- SystemInformation.cs
- ParenExpr.cs
- Int64Converter.cs
- CacheEntry.cs
- autovalidator.cs
- WrappedKeySecurityTokenParameters.cs
- PropertyPathConverter.cs
- ReferenceEqualityComparer.cs
- SafeReadContext.cs
- SchemaImporterExtensionElementCollection.cs
- TemplateColumn.cs
- MenuItem.cs
- SQLByte.cs
- Pair.cs
- FileNameEditor.cs
- EnvelopeVersion.cs
- ImageField.cs
- Thread.cs
- StorageComplexPropertyMapping.cs
- MemberRelationshipService.cs
- Function.cs
- InterleavedZipPartStream.cs
- InfoCardRSACryptoProvider.cs
- ContentValidator.cs
- XmlChoiceIdentifierAttribute.cs
- ParameterEditorUserControl.cs
- RolePrincipal.cs
- SiteMapPath.cs
- AnimationClockResource.cs
- MarkedHighlightComponent.cs
- MdImport.cs
- ItemsControlAutomationPeer.cs
- SchemaRegistration.cs
- XmlSchemaCompilationSettings.cs
- PenThread.cs
- RtfControls.cs
- EntityFunctions.cs
- AsyncOperationContext.cs
- BigInt.cs
- ContentElement.cs
- DrawingAttributesDefaultValueFactory.cs
- SQLConvert.cs
- DrawListViewItemEventArgs.cs
- FakeModelItemImpl.cs
- GlyphElement.cs
- SecurityContext.cs
- DataGridTextBoxColumn.cs
- SearchForVirtualItemEventArgs.cs
- DynamicDataRouteHandler.cs
- OleDbFactory.cs
- ServiceProviders.cs
- DataColumnMappingCollection.cs
- TextEditorSelection.cs
- SmiXetterAccessMap.cs
- WindowHelperService.cs
- XmlILModule.cs
- Triplet.cs
- SchemaTypeEmitter.cs
- CancelAsyncOperationRequest.cs
- AutomationPropertyInfo.cs
- SecurityResources.cs
- Timer.cs
- DbCommandDefinition.cs
- TreeNodeConverter.cs
- IntranetCredentialPolicy.cs
- WorkflowDurableInstance.cs
- RewritingPass.cs
- ProtocolsSection.cs
- RelatedCurrencyManager.cs
- GridViewSelectEventArgs.cs
- DetailsViewUpdatedEventArgs.cs
- ToolStripItemDesigner.cs
- XmlUnspecifiedAttribute.cs
- XmlSchemaGroupRef.cs
- ValidatingCollection.cs
- SecondaryIndexDefinition.cs
- MessageRpc.cs
- RepeatButtonAutomationPeer.cs
- ValidationErrorCollection.cs
- AffineTransform3D.cs
- SystemIPAddressInformation.cs
- ServiceOperationInvoker.cs
- ComUdtElementCollection.cs
- RSACryptoServiceProvider.cs
- NullReferenceException.cs
- WebBrowsableAttribute.cs
- ArgumentOutOfRangeException.cs
- TextEffect.cs
- ListBindableAttribute.cs
- Html32TextWriter.cs
- BasePattern.cs
- __ComObject.cs