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
- CaseStatementSlot.cs
- HttpCacheVaryByContentEncodings.cs
- ObjectPropertyMapping.cs
- ComponentDesigner.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- UriScheme.cs
- ImageListStreamer.cs
- CompilationRelaxations.cs
- CodeCompiler.cs
- SrgsOneOf.cs
- ResXResourceReader.cs
- Converter.cs
- TailCallAnalyzer.cs
- StreamWriter.cs
- FixedStringLookup.cs
- ForeignConstraint.cs
- AnimationLayer.cs
- LongValidator.cs
- NamedPipeConnectionPool.cs
- safelinkcollection.cs
- PickBranch.cs
- ToolStripContentPanel.cs
- ExpressionTextBox.xaml.cs
- DataServiceProcessingPipeline.cs
- SimpleParser.cs
- SqlDataSourceFilteringEventArgs.cs
- HostAdapter.cs
- WsdlParser.cs
- SplineKeyFrames.cs
- WsdlInspector.cs
- SafeEventHandle.cs
- OdbcDataAdapter.cs
- RedBlackList.cs
- CompModHelpers.cs
- BoundPropertyEntry.cs
- TypeUnloadedException.cs
- CodeStatementCollection.cs
- BaseParser.cs
- DataGridViewColumnCollectionDialog.cs
- DSASignatureFormatter.cs
- UserControlAutomationPeer.cs
- OleDbParameterCollection.cs
- ContainerUIElement3D.cs
- WebPartConnectionsCancelEventArgs.cs
- UnicastIPAddressInformationCollection.cs
- BooleanAnimationBase.cs
- KeyBinding.cs
- FixedSOMElement.cs
- ConfigurationManagerInternalFactory.cs
- EncoderFallback.cs
- RuntimeTransactionHandle.cs
- MenuStrip.cs
- StylusPointDescription.cs
- X509WindowsSecurityToken.cs
- GridViewCancelEditEventArgs.cs
- GenericWebPart.cs
- IdentitySection.cs
- PropertyMapper.cs
- ComboBoxAutomationPeer.cs
- DataGridViewCellCancelEventArgs.cs
- TableLayoutCellPaintEventArgs.cs
- RoutedEventValueSerializer.cs
- JavaScriptObjectDeserializer.cs
- LayoutExceptionEventArgs.cs
- BitStream.cs
- DesignSurface.cs
- JoinCqlBlock.cs
- TextElementEnumerator.cs
- SqlProcedureAttribute.cs
- AccessibilityApplicationManager.cs
- DesignOnlyAttribute.cs
- ContainerAction.cs
- ItemCollectionEditor.cs
- QueryableFilterRepeater.cs
- MimePart.cs
- CodeBinaryOperatorExpression.cs
- SafeUserTokenHandle.cs
- SettingsPropertyValue.cs
- TextTreeInsertUndoUnit.cs
- BookmarkScope.cs
- DbModificationClause.cs
- EntityUtil.cs
- Cursor.cs
- OdbcError.cs
- HashHelper.cs
- PrintController.cs
- BitmapSizeOptions.cs
- TypeDescriptor.cs
- ContractSearchPattern.cs
- CodeSnippetExpression.cs
- invalidudtexception.cs
- LambdaCompiler.Expressions.cs
- CollectionConverter.cs
- IndexedString.cs
- ApplicationSettingsBase.cs
- UrlParameterReader.cs
- XsdDateTime.cs
- DocumentSequence.cs
- StringBuilder.cs
- DelegatingMessage.cs