Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / Threading / ThreadAbortException.cs / 1 / ThreadAbortException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: ThreadAbortException ** ** ** Purpose: An exception class which is thrown into a thread to cause it to ** abort. This is a special non-catchable exception and results in ** the thread's death. This is thrown by the VM only and can NOT be ** thrown by any user thread, and subclassign this is useless. ** ** =============================================================================*/ namespace System.Threading { using System; using System.Runtime.Serialization; using System.Runtime.CompilerServices; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public sealed class ThreadAbortException : SystemException { private ThreadAbortException() : base(GetMessageFromNativeResources(ExceptionMessageKind.ThreadAbort)) { SetErrorCode(__HResults.COR_E_THREADABORTED); } //required for serialization internal ThreadAbortException(SerializationInfo info, StreamingContext context) : base(info, context) { } public Object ExceptionState { get {return Thread.CurrentThread.AbortReason;} } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridViewTextBoxColumn.cs
- UncommonField.cs
- SqlNotificationRequest.cs
- MultilineStringEditor.cs
- IgnoreSection.cs
- RelationshipType.cs
- SiteMapProvider.cs
- Rect3DConverter.cs
- StatusBarPanel.cs
- Window.cs
- FacetDescriptionElement.cs
- QilFactory.cs
- DocumentReferenceCollection.cs
- WebConfigurationHost.cs
- ScrollEvent.cs
- Matrix3DConverter.cs
- TCEAdapterGenerator.cs
- CollectionViewSource.cs
- EntityStoreSchemaGenerator.cs
- SQLChars.cs
- AnonymousIdentificationModule.cs
- ValueQuery.cs
- ResizeBehavior.cs
- ClientUriBehavior.cs
- FormViewUpdateEventArgs.cs
- PlainXmlDeserializer.cs
- NetNamedPipeSecurity.cs
- ClientBase.cs
- DynamicFilter.cs
- MultiTrigger.cs
- DataRelationPropertyDescriptor.cs
- GeneralTransformCollection.cs
- ErrorRuntimeConfig.cs
- DataGridViewColumnCollectionDialog.cs
- Int16Converter.cs
- NameNode.cs
- TransformPatternIdentifiers.cs
- MessageEncoder.cs
- Function.cs
- Typography.cs
- PathFigure.cs
- FilterEventArgs.cs
- RegexCaptureCollection.cs
- XmlDataSource.cs
- TreeNode.cs
- MediaEntryAttribute.cs
- DocumentXPathNavigator.cs
- X509Chain.cs
- SRDisplayNameAttribute.cs
- ExecutionContext.cs
- DebugManager.cs
- TargetControlTypeAttribute.cs
- ReceiveActivity.cs
- XmlImplementation.cs
- WrapperEqualityComparer.cs
- CookielessHelper.cs
- ApplicationInfo.cs
- RuntimeResourceSet.cs
- InstallHelper.cs
- DataSourceCache.cs
- PrintPreviewGraphics.cs
- XmlSchemaExporter.cs
- MetricEntry.cs
- CatalogPartCollection.cs
- _ConnectionGroup.cs
- EditorZoneBase.cs
- ChangePassword.cs
- StandardToolWindows.cs
- AttributeCollection.cs
- TextTabProperties.cs
- Helpers.cs
- TemplateBindingExtension.cs
- ComplexType.cs
- DropShadowBitmapEffect.cs
- Deflater.cs
- TreeNodeCollection.cs
- SecurityHeaderLayout.cs
- DesignerAttributeInfo.cs
- ScrollChrome.cs
- ZipIOLocalFileBlock.cs
- TextRunProperties.cs
- PreviewKeyDownEventArgs.cs
- Walker.cs
- FixedTextContainer.cs
- QuaternionIndependentAnimationStorage.cs
- XmlCodeExporter.cs
- DataGridViewRowHeaderCell.cs
- RankException.cs
- ErrorInfoXmlDocument.cs
- OraclePermissionAttribute.cs
- ViewCellSlot.cs
- RightsManagementInformation.cs
- NumberFunctions.cs
- RawStylusInputCustomDataList.cs
- BitSet.cs
- EffectiveValueEntry.cs
- HttpValueCollection.cs
- ArgumentNullException.cs
- TreeNodeEventArgs.cs
- SymbolTable.cs