Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FunctionCommandText.cs
- ArrayWithOffset.cs
- JournalNavigationScope.cs
- ShapeTypeface.cs
- UpdateCommand.cs
- DynamicRendererThreadManager.cs
- DispatcherExceptionEventArgs.cs
- XmlHierarchicalEnumerable.cs
- __Filters.cs
- SqlAliaser.cs
- RoutedUICommand.cs
- DataSysAttribute.cs
- DataObjectAttribute.cs
- Pen.cs
- UdpUtility.cs
- COM2ColorConverter.cs
- Scripts.cs
- FloaterParagraph.cs
- Vector3DValueSerializer.cs
- DesignTimeValidationFeature.cs
- BitmapImage.cs
- SecurityTokenTypes.cs
- ProcessModelSection.cs
- RightsManagementEncryptedStream.cs
- ScriptComponentDescriptor.cs
- Rotation3DAnimationBase.cs
- IncrementalReadDecoders.cs
- PerformanceCounterCategory.cs
- SecurityTokenException.cs
- TypeReference.cs
- StylusTip.cs
- RedBlackList.cs
- LicFileLicenseProvider.cs
- EntityKey.cs
- SqlAliaser.cs
- PropertyRecord.cs
- DataReceivedEventArgs.cs
- Image.cs
- XDeferredAxisSource.cs
- TraceInternal.cs
- SchemaTableOptionalColumn.cs
- ImpersonationContext.cs
- CounterSample.cs
- DebugTracing.cs
- DictionaryEntry.cs
- Typography.cs
- Win32SafeHandles.cs
- ParameterCollection.cs
- ObjectListTitleAttribute.cs
- InvalidCastException.cs
- ClockGroup.cs
- MethodBuilder.cs
- MultilineStringEditor.cs
- Binding.cs
- LOSFormatter.cs
- DispatcherObject.cs
- SerialPort.cs
- CreateUserWizardStep.cs
- SmtpAuthenticationManager.cs
- BinHexDecoder.cs
- RoutedEventValueSerializer.cs
- TextServicesCompartment.cs
- DataError.cs
- TrackingProfileSerializer.cs
- TextHidden.cs
- SymmetricAlgorithm.cs
- XmlImplementation.cs
- Instrumentation.cs
- Pen.cs
- PanelDesigner.cs
- XamlToRtfWriter.cs
- Pens.cs
- SelectorAutomationPeer.cs
- RegisteredExpandoAttribute.cs
- SourceSwitch.cs
- dtdvalidator.cs
- SvcMapFileSerializer.cs
- DesignerActionVerbList.cs
- AppLevelCompilationSectionCache.cs
- InternalControlCollection.cs
- HandledMouseEvent.cs
- _FtpDataStream.cs
- RequestSecurityTokenResponse.cs
- VisualTarget.cs
- LoadedOrUnloadedOperation.cs
- NativeMethodsOther.cs
- SerialStream.cs
- ColorIndependentAnimationStorage.cs
- StructuredTypeEmitter.cs
- CroppedBitmap.cs
- StringSorter.cs
- NumberFormatInfo.cs
- OdbcDataAdapter.cs
- sqlcontext.cs
- MappingException.cs
- InnerItemCollectionView.cs
- ParameterReplacerVisitor.cs
- AttachedAnnotationChangedEventArgs.cs
- ValidationRule.cs
- DrawingGroupDrawingContext.cs