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
- DefaultBindingPropertyAttribute.cs
- ContentOperations.cs
- IdentifierCollection.cs
- WebConfigurationHost.cs
- EntityExpressionVisitor.cs
- QuestionEventArgs.cs
- CheckedListBox.cs
- TextComposition.cs
- TextTabProperties.cs
- ProviderBase.cs
- FloaterBaseParaClient.cs
- ApplicationContext.cs
- translator.cs
- BitmapSizeOptions.cs
- ApplicationDirectory.cs
- SecurityPolicySection.cs
- SoapFormatter.cs
- DbConnectionInternal.cs
- cookieexception.cs
- LZCodec.cs
- NullToBooleanConverter.cs
- DragEvent.cs
- RequestQueryParser.cs
- AvTrace.cs
- SmiEventSink.cs
- CmsInterop.cs
- SerializerDescriptor.cs
- FirewallWrapper.cs
- NavigateEvent.cs
- InvalidFilterCriteriaException.cs
- SignatureGenerator.cs
- TypeConverterHelper.cs
- PerformanceCounterPermissionEntryCollection.cs
- UserValidatedEventArgs.cs
- XsltCompileContext.cs
- diagnosticsswitches.cs
- SettingsAttributes.cs
- ChannelTokenTypeConverter.cs
- SystemColorTracker.cs
- StateManagedCollection.cs
- ProxyHelper.cs
- CheckBoxFlatAdapter.cs
- RunClient.cs
- SrgsRulesCollection.cs
- WebPartCloseVerb.cs
- NameScopePropertyAttribute.cs
- formatstringdialog.cs
- ExtenderProviderService.cs
- RuntimeHelpers.cs
- SmiXetterAccessMap.cs
- BoolLiteral.cs
- ReliableChannelFactory.cs
- Type.cs
- IssuanceLicense.cs
- PopOutPanel.cs
- TrustManagerMoreInformation.cs
- basecomparevalidator.cs
- QilCloneVisitor.cs
- CryptoStream.cs
- SpeakProgressEventArgs.cs
- ScriptControlManager.cs
- HttpServerVarsCollection.cs
- BaseCodeDomTreeGenerator.cs
- XNameTypeConverter.cs
- FastPropertyAccessor.cs
- CallbackDebugBehavior.cs
- CurrentChangingEventArgs.cs
- TextRange.cs
- EntryIndex.cs
- WindowsListViewScroll.cs
- URLIdentityPermission.cs
- LocatorGroup.cs
- ServiceOperationListItemList.cs
- XmlSchemaAppInfo.cs
- CatalogPartChrome.cs
- Blend.cs
- xml.cs
- DeliveryStrategy.cs
- DefaultWorkflowLoaderService.cs
- Label.cs
- NamedElement.cs
- ListViewDeletedEventArgs.cs
- HttpHandlerActionCollection.cs
- TableLayoutSettingsTypeConverter.cs
- CreateUserWizardAutoFormat.cs
- TextElementCollection.cs
- GPStream.cs
- ProfileSection.cs
- NetTcpSecurityElement.cs
- SurrogateDataContract.cs
- X509Certificate2.cs
- ScriptDescriptor.cs
- FixUp.cs
- HtmlInputHidden.cs
- MenuStrip.cs
- KeyEventArgs.cs
- FreeFormDesigner.cs
- HtmlEmptyTagControlBuilder.cs
- XmlHierarchyData.cs
- BulletedList.cs