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
- WebPartConnectionsEventArgs.cs
- ScriptBehaviorDescriptor.cs
- COM2PictureConverter.cs
- FormView.cs
- OLEDB_Enum.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- ExtensionElement.cs
- InputReportEventArgs.cs
- HelpEvent.cs
- SqlInternalConnectionSmi.cs
- DynamicDataRoute.cs
- DefaultCommandConverter.cs
- dataSvcMapFileLoader.cs
- GPPOINTF.cs
- WorkflowInstanceUnhandledExceptionRecord.cs
- SqlDataReaderSmi.cs
- TemplateControl.cs
- Msec.cs
- CaseInsensitiveHashCodeProvider.cs
- SoundPlayer.cs
- FontResourceCache.cs
- TreeIterators.cs
- HttpHandlerAction.cs
- GcHandle.cs
- Parser.cs
- UdpTransportSettings.cs
- Attributes.cs
- DataGridViewCellStyle.cs
- Type.cs
- SimpleApplicationHost.cs
- OperationCanceledException.cs
- BinaryFormatterWriter.cs
- DictionaryEntry.cs
- ToolStripItemCollection.cs
- DiagnosticsConfiguration.cs
- SchemaManager.cs
- UnsafeNativeMethods.cs
- SafeRightsManagementHandle.cs
- StrokeSerializer.cs
- OracleString.cs
- SubstitutionList.cs
- SecureConversationServiceElement.cs
- ContextDataSourceView.cs
- StringWriter.cs
- XPathConvert.cs
- SQLStringStorage.cs
- ApplicationBuildProvider.cs
- InfoCardAsymmetricCrypto.cs
- SubordinateTransaction.cs
- JsonFormatMapping.cs
- CapacityStreamGeometryContext.cs
- NetworkInformationPermission.cs
- LinqDataSourceSelectEventArgs.cs
- BackStopAuthenticationModule.cs
- RequiredFieldValidator.cs
- LayoutEngine.cs
- BindingGroup.cs
- XhtmlMobileTextWriter.cs
- ListViewGroupConverter.cs
- ListBoxItem.cs
- ValidationContext.cs
- UnsafeNativeMethods.cs
- DataTableNewRowEvent.cs
- VectorAnimationBase.cs
- DrawingServices.cs
- SrgsGrammar.cs
- DropShadowBitmapEffect.cs
- BindingsCollection.cs
- CompositeDataBoundControl.cs
- TraceEventCache.cs
- BinHexDecoder.cs
- COMException.cs
- __Filters.cs
- ProjectedSlot.cs
- CapabilitiesRule.cs
- DynamicUpdateCommand.cs
- SkewTransform.cs
- ChannelCacheSettings.cs
- XamlWriter.cs
- InvalidProgramException.cs
- EventDescriptor.cs
- VisualCollection.cs
- HighContrastHelper.cs
- ApplicationHost.cs
- listviewsubitemcollectioneditor.cs
- PrintPreviewControl.cs
- SerializationInfoEnumerator.cs
- FilterEventArgs.cs
- XmlSchemaSimpleContentRestriction.cs
- ContactManager.cs
- XmlSchemaSimpleTypeList.cs
- MailAddressCollection.cs
- NotificationContext.cs
- EnumerableRowCollection.cs
- WebPartConnectionsConfigureVerb.cs
- MessagePartDescriptionCollection.cs
- HandlerMappingMemo.cs
- InheritanceUI.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- WindowsSysHeader.cs