Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Threading / ThreadAbortException.cs / 1305376 / 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 subclassing 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 { [System.Security.SecuritySafeCritical] // auto-generated get {return Thread.CurrentThread.AbortReason;} } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FilterEventArgs.cs
- SocketInformation.cs
- CodeCatchClauseCollection.cs
- InstalledFontCollection.cs
- CreateUserWizardDesigner.cs
- Int32CollectionConverter.cs
- XmlBindingWorker.cs
- BrushConverter.cs
- DataGridPagingPage.cs
- ToolStripRenderEventArgs.cs
- MembershipValidatePasswordEventArgs.cs
- ScrollChrome.cs
- FrameworkTextComposition.cs
- connectionpool.cs
- Point3DKeyFrameCollection.cs
- ExceptionUtil.cs
- AsyncResult.cs
- EventSinkHelperWriter.cs
- CommandBindingCollection.cs
- RegistrySecurity.cs
- InputLanguageManager.cs
- SymLanguageVendor.cs
- InputReferenceExpression.cs
- QuaternionValueSerializer.cs
- HttpStreamMessageEncoderFactory.cs
- TypeConverterValueSerializer.cs
- SecurityKeyIdentifierClause.cs
- WorkflowRuntimeServiceElement.cs
- CodeIdentifier.cs
- DeferrableContentConverter.cs
- RTLAwareMessageBox.cs
- MenuItemStyle.cs
- TCEAdapterGenerator.cs
- LinqDataSourceView.cs
- TextFormatterContext.cs
- NamedPipeChannelFactory.cs
- DuplicateWaitObjectException.cs
- Rights.cs
- RelationshipEndCollection.cs
- Attachment.cs
- TdsParameterSetter.cs
- OleDbTransaction.cs
- Binding.cs
- ClientScriptManagerWrapper.cs
- DynamicDocumentPaginator.cs
- WebConfigurationFileMap.cs
- GroupBoxRenderer.cs
- LoadItemsEventArgs.cs
- PeerResolverElement.cs
- ImageAttributes.cs
- WebPartTransformer.cs
- BlobPersonalizationState.cs
- OpCodes.cs
- UserInitiatedNavigationPermission.cs
- MultitargetUtil.cs
- DebugInfoExpression.cs
- TdsParserStateObject.cs
- ToolStripContentPanelDesigner.cs
- IDReferencePropertyAttribute.cs
- SecureEnvironment.cs
- ReadOnlyObservableCollection.cs
- DataGridViewIntLinkedList.cs
- DataSourceControl.cs
- SchemaHelper.cs
- MessageSmuggler.cs
- BaseTreeIterator.cs
- FamilyMapCollection.cs
- IntSecurity.cs
- DbProviderServices.cs
- PropertyGridEditorPart.cs
- XmlUTF8TextReader.cs
- _UriSyntax.cs
- CodeSnippetTypeMember.cs
- RemotingServices.cs
- StatusBarPanelClickEvent.cs
- SHA256Cng.cs
- ParallelTimeline.cs
- SessionIDManager.cs
- BaseTemplateCodeDomTreeGenerator.cs
- EventArgs.cs
- RawAppCommandInputReport.cs
- MulticastOption.cs
- WasNotInstalledException.cs
- MessageDispatch.cs
- SinglePageViewer.cs
- Base64Stream.cs
- UTF32Encoding.cs
- webbrowsersite.cs
- ConnectionStringEditor.cs
- SqlCommand.cs
- SchemaInfo.cs
- RouteUrlExpressionBuilder.cs
- PointAnimationUsingPath.cs
- WebPartConnectionsEventArgs.cs
- ZeroOpNode.cs
- ApplicationCommands.cs
- EventPropertyMap.cs
- WebConfigurationHost.cs
- WebServiceEndpoint.cs
- ObjectParameterCollection.cs