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
- ComboBoxRenderer.cs
- DesignerActionPropertyItem.cs
- mansign.cs
- ApplicationInfo.cs
- DbConnectionStringBuilder.cs
- ThrowHelper.cs
- Viewport3DVisual.cs
- SafePointer.cs
- SortedList.cs
- ScriptBehaviorDescriptor.cs
- TextWriterTraceListener.cs
- CompilerResults.cs
- TagNameToTypeMapper.cs
- GridViewColumnCollectionChangedEventArgs.cs
- CreateUserWizard.cs
- ScriptHandlerFactory.cs
- TextFragmentEngine.cs
- Matrix3DConverter.cs
- BaseServiceProvider.cs
- MouseEvent.cs
- NonDualMessageSecurityOverHttpElement.cs
- RuleCache.cs
- SerializationObjectManager.cs
- EventWaitHandle.cs
- SoapEnumAttribute.cs
- WebBrowserContainer.cs
- HttpModulesSection.cs
- Collection.cs
- ControlBuilderAttribute.cs
- ProtectedProviderSettings.cs
- XmlDownloadManager.cs
- ListBoxItem.cs
- RoleManagerModule.cs
- JsonUriDataContract.cs
- QueryOutputWriter.cs
- TextEndOfLine.cs
- StringBuilder.cs
- PeerName.cs
- Vector.cs
- VerificationException.cs
- BaseProcessProtocolHandler.cs
- XmlSchemaAppInfo.cs
- RichTextBox.cs
- PackageRelationshipSelector.cs
- PropertyChangingEventArgs.cs
- ReadOnlyPropertyMetadata.cs
- ExecutionEngineException.cs
- DataObjectEventArgs.cs
- CommandBindingCollection.cs
- DocumentOutline.cs
- TextStore.cs
- StyleModeStack.cs
- BooleanConverter.cs
- EndpointAddressMessageFilter.cs
- WebPartDisplayModeCollection.cs
- RevocationPoint.cs
- SqlMethodAttribute.cs
- PermissionAttributes.cs
- ToolBarOverflowPanel.cs
- XmlReflectionImporter.cs
- ProfileProvider.cs
- WebResponse.cs
- BasicHttpMessageSecurityElement.cs
- OptimizerPatterns.cs
- IncrementalHitTester.cs
- followingquery.cs
- WindowsFormsSectionHandler.cs
- SafeFileMapViewHandle.cs
- PropertyGeneratedEventArgs.cs
- DataStreams.cs
- HttpListenerResponse.cs
- BuildResultCache.cs
- SafeNativeMethodsOther.cs
- SafeTimerHandle.cs
- PageSettings.cs
- XmlAttributeHolder.cs
- FontFamily.cs
- CurrencyManager.cs
- CompareValidator.cs
- DataTablePropertyDescriptor.cs
- GridViewHeaderRowPresenter.cs
- OleDbError.cs
- ExpandedWrapper.cs
- RIPEMD160Managed.cs
- AttributeProviderAttribute.cs
- StickyNoteHelper.cs
- BrushConverter.cs
- _ConnectStream.cs
- TypeLoadException.cs
- ClientData.cs
- TableCellCollection.cs
- DbInsertCommandTree.cs
- DbCommandTree.cs
- TextFormatterHost.cs
- BrowserCapabilitiesFactory.cs
- BeginEvent.cs
- WindowsBrush.cs
- ParsedAttributeCollection.cs
- SectionVisual.cs
- ConfigXmlWhitespace.cs