Code:
/ 4.0 / 4.0 / 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. // ==++== // // 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
- ProviderIncompatibleException.cs
- mda.cs
- ExpressionLexer.cs
- COM2IDispatchConverter.cs
- Empty.cs
- PriorityBindingExpression.cs
- DynamicResourceExtension.cs
- Emitter.cs
- ColumnMapProcessor.cs
- DynamicDocumentPaginator.cs
- DurableMessageDispatchInspector.cs
- VectorCollection.cs
- ThemeDirectoryCompiler.cs
- TextTreeUndoUnit.cs
- MouseButton.cs
- ApplicationInfo.cs
- Collection.cs
- EdmConstants.cs
- SmtpReplyReaderFactory.cs
- SharedDp.cs
- ComAdminInterfaces.cs
- SkewTransform.cs
- TextEditor.cs
- KnownBoxes.cs
- ByteStack.cs
- ConstantProjectedSlot.cs
- ReadOnlyDictionary.cs
- CultureNotFoundException.cs
- Convert.cs
- CollaborationHelperFunctions.cs
- SubMenuStyleCollection.cs
- CLRBindingWorker.cs
- WindowsUpDown.cs
- _NativeSSPI.cs
- OdbcParameterCollection.cs
- DataGridAutoFormatDialog.cs
- QilNode.cs
- OAVariantLib.cs
- OracleConnection.cs
- DbInsertCommandTree.cs
- DataSourceHelper.cs
- DirectoryLocalQuery.cs
- FuncTypeConverter.cs
- ExclusiveTcpListener.cs
- CodeEventReferenceExpression.cs
- DockAndAnchorLayout.cs
- WebPartMenuStyle.cs
- ApplicationSecurityManager.cs
- XmlCharCheckingReader.cs
- QueryReaderSettings.cs
- ObjectQueryState.cs
- RepeaterCommandEventArgs.cs
- ImageBrush.cs
- PartialArray.cs
- EventHandlersDesigner.cs
- Vector.cs
- DataGridBeginningEditEventArgs.cs
- FileSystemInfo.cs
- RightsManagementEncryptionTransform.cs
- DataSourceXmlClassAttribute.cs
- Vector3DValueSerializer.cs
- EntityTemplateFactory.cs
- AutoResizedEvent.cs
- TableDetailsRow.cs
- KeyValueSerializer.cs
- WebPartCatalogAddVerb.cs
- VisualStyleInformation.cs
- GPRECTF.cs
- ButtonBaseAdapter.cs
- WindowsRebar.cs
- EnumType.cs
- ReadOnlyDictionary.cs
- QueueProcessor.cs
- FaultFormatter.cs
- RadialGradientBrush.cs
- ProxyWebPartManager.cs
- WebEventCodes.cs
- RichTextBox.cs
- KoreanCalendar.cs
- _NegotiateClient.cs
- HtmlInputText.cs
- ManagementObjectSearcher.cs
- WindowsListViewItemStartMenu.cs
- FormsAuthenticationTicket.cs
- InvalidComObjectException.cs
- WebScriptServiceHostFactory.cs
- SqlBinder.cs
- NoResizeHandleGlyph.cs
- ContravarianceAdapter.cs
- PopupRootAutomationPeer.cs
- DocumentOutline.cs
- XmlTextWriter.cs
- _SingleItemRequestCache.cs
- WebServicesDescriptionAttribute.cs
- BufferBuilder.cs
- DataServiceQuery.cs
- EdmProperty.cs
- PrinterSettings.cs
- HwndSourceParameters.cs
- PriorityQueue.cs