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
- InstanceNotReadyException.cs
- UniformGrid.cs
- XamlBrushSerializer.cs
- StdValidatorsAndConverters.cs
- PointLightBase.cs
- TextElementCollection.cs
- LostFocusEventManager.cs
- MimeParameters.cs
- X509Certificate2.cs
- RelationshipEndMember.cs
- XmlRootAttribute.cs
- InstanceDescriptor.cs
- TagNameToTypeMapper.cs
- FileResponseElement.cs
- LogicalCallContext.cs
- path.cs
- XD.cs
- DesignTimeXamlWriter.cs
- TreeViewItem.cs
- ByteConverter.cs
- InfoCardSymmetricAlgorithm.cs
- PointLightBase.cs
- AppSettingsExpressionEditor.cs
- LicenseProviderAttribute.cs
- PriorityQueue.cs
- RawStylusInputCustomData.cs
- DataRowIndexBuffer.cs
- FreezableOperations.cs
- SqlOuterApplyReducer.cs
- CommonProperties.cs
- DbConnectionOptions.cs
- KeyValuePairs.cs
- InternalRelationshipCollection.cs
- PrintController.cs
- HtmlInputRadioButton.cs
- DataBindingsDialog.cs
- PeerNodeTraceRecord.cs
- BitmapSource.cs
- DropShadowEffect.cs
- BitmapEffectDrawing.cs
- MatrixIndependentAnimationStorage.cs
- ScrollViewer.cs
- IncrementalReadDecoders.cs
- PassportPrincipal.cs
- AtomMaterializer.cs
- PropertyInfo.cs
- CreateInstanceBinder.cs
- DataDocumentXPathNavigator.cs
- UnsafeNativeMethodsCLR.cs
- OdbcTransaction.cs
- ServiceOperation.cs
- OracleFactory.cs
- TextOnlyOutput.cs
- RSACryptoServiceProvider.cs
- ThicknessKeyFrameCollection.cs
- RegexWorker.cs
- LinqDataSourceInsertEventArgs.cs
- GACIdentityPermission.cs
- FullTextBreakpoint.cs
- ToolStripScrollButton.cs
- DeferredRunTextReference.cs
- SyndicationSerializer.cs
- TextEditorCharacters.cs
- XmlSchemaComplexContentRestriction.cs
- Binding.cs
- RSAOAEPKeyExchangeDeformatter.cs
- Margins.cs
- FileNameEditor.cs
- DbTransaction.cs
- DbConnectionStringCommon.cs
- GeometryConverter.cs
- DefaultBinder.cs
- XmlCharacterData.cs
- SafeEventLogWriteHandle.cs
- ToolStrip.cs
- NameValuePair.cs
- UrlMappingsModule.cs
- ImmutableObjectAttribute.cs
- SendKeys.cs
- ItemChangedEventArgs.cs
- RelationshipConstraintValidator.cs
- ChangeToolStripParentVerb.cs
- TimeSpanFormat.cs
- peersecurityelement.cs
- WriteTimeStream.cs
- XpsFixedPageReaderWriter.cs
- Properties.cs
- ProfileBuildProvider.cs
- TryExpression.cs
- CqlWriter.cs
- ProfileServiceManager.cs
- QueryExecutionOption.cs
- ComponentResourceKey.cs
- DbMetaDataCollectionNames.cs
- TransformedBitmap.cs
- RoleManagerModule.cs
- ToolStripContainer.cs
- TemplateGroupCollection.cs
- DataListItemCollection.cs
- DataGridViewTopLeftHeaderCell.cs