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
- AutomationPropertyChangedEventArgs.cs
- GenericEnumConverter.cs
- BadImageFormatException.cs
- Stack.cs
- MetadataArtifactLoaderCompositeFile.cs
- SerialStream.cs
- QilValidationVisitor.cs
- GlobalItem.cs
- ModulesEntry.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- EdmToObjectNamespaceMap.cs
- TargetPerspective.cs
- DescendantBaseQuery.cs
- CodeValidator.cs
- ProfileServiceManager.cs
- ObjectTypeMapping.cs
- CompilerGeneratedAttribute.cs
- AccessDataSourceView.cs
- WebPartsPersonalizationAuthorization.cs
- DrawingDrawingContext.cs
- Margins.cs
- basemetadatamappingvisitor.cs
- Roles.cs
- GifBitmapDecoder.cs
- AllMembershipCondition.cs
- XmlSerializationWriter.cs
- HtmlDocument.cs
- AddInStore.cs
- TimeEnumHelper.cs
- CompModSwitches.cs
- BamlCollectionHolder.cs
- XmlWriterSettings.cs
- HttpCapabilitiesSectionHandler.cs
- ObjectListCommandsPage.cs
- MessageQueue.cs
- ApplicationDirectoryMembershipCondition.cs
- StringDictionaryWithComparer.cs
- DelegatedStream.cs
- SerializationObjectManager.cs
- ClassDataContract.cs
- ContainerAction.cs
- DesignerSerializerAttribute.cs
- ParameterCollection.cs
- WSHttpBindingBase.cs
- ValidationResult.cs
- ListCommandEventArgs.cs
- DataGridTableCollection.cs
- AssemblyHash.cs
- TextBlockAutomationPeer.cs
- SettingsProviderCollection.cs
- ProviderSettings.cs
- PageRequestManager.cs
- BezierSegment.cs
- COM2ExtendedBrowsingHandler.cs
- InheritedPropertyDescriptor.cs
- AmbientEnvironment.cs
- HighlightVisual.cs
- EntityContainerRelationshipSetEnd.cs
- HttpBrowserCapabilitiesWrapper.cs
- FrameDimension.cs
- RegularExpressionValidator.cs
- ContentFilePart.cs
- CardSpacePolicyElement.cs
- SerializationInfoEnumerator.cs
- ADMembershipProvider.cs
- ResourcesBuildProvider.cs
- BackgroundWorker.cs
- PersonalizationStateInfo.cs
- BatchParser.cs
- InvalidAsynchronousStateException.cs
- Stackframe.cs
- LineServicesCallbacks.cs
- AmbientLight.cs
- WindowsPen.cs
- AmbientProperties.cs
- ProfileBuildProvider.cs
- WaitHandle.cs
- SerialErrors.cs
- UmAlQuraCalendar.cs
- ListenerElementsCollection.cs
- DoubleAnimation.cs
- DataControlButton.cs
- IdentityNotMappedException.cs
- ASCIIEncoding.cs
- QueryOptionExpression.cs
- LogEntryHeaderSerializer.cs
- EditorPart.cs
- ToolStripControlHost.cs
- SiteMapSection.cs
- SharedStatics.cs
- RSACryptoServiceProvider.cs
- WpfKnownMemberInvoker.cs
- BaseCollection.cs
- AlignmentYValidation.cs
- CAGDesigner.cs
- BamlBinaryReader.cs
- ApplicationTrust.cs
- CheckBox.cs
- DataSourceHelper.cs
- Exceptions.cs