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
- DataService.cs
- PageHandlerFactory.cs
- ThemeDirectoryCompiler.cs
- StructuredCompositeActivityDesigner.cs
- TextContainerChangeEventArgs.cs
- BaseUriHelper.cs
- XpsThumbnail.cs
- DefaultTextStore.cs
- NativeMethods.cs
- AppearanceEditorPart.cs
- DynamicRenderer.cs
- ObjectDisposedException.cs
- EntityModelBuildProvider.cs
- FileDialogPermission.cs
- ToolStripHighContrastRenderer.cs
- LoadedEvent.cs
- ConnectionManagementElement.cs
- CodeIterationStatement.cs
- SequenceDesigner.cs
- Panel.cs
- RegionInfo.cs
- DiscoveryClientElement.cs
- ImmutableCollection.cs
- RegionIterator.cs
- Parsers.cs
- BinaryReader.cs
- Base64Stream.cs
- MimeParameter.cs
- returneventsaver.cs
- UpdatePanel.cs
- WinEventWrap.cs
- Italic.cs
- StringUtil.cs
- RightsManagementProvider.cs
- OracleInfoMessageEventArgs.cs
- SqlRetyper.cs
- DataBoundControlHelper.cs
- WebScriptEnablingElement.cs
- CustomValidator.cs
- StyleCollectionEditor.cs
- XamlSerializer.cs
- FixedSOMPageElement.cs
- DataBoundControl.cs
- RelationshipSet.cs
- BitmapEditor.cs
- StdRegProviderWrapper.cs
- MemberCollection.cs
- SafeHandles.cs
- MessageSmuggler.cs
- CssStyleCollection.cs
- ToolTipService.cs
- COMException.cs
- PageAdapter.cs
- RuntimeCompatibilityAttribute.cs
- SoapRpcMethodAttribute.cs
- SettingsBase.cs
- WindowsListViewSubItem.cs
- SessionPageStateSection.cs
- DuplicateWaitObjectException.cs
- ToolStripArrowRenderEventArgs.cs
- StreamResourceInfo.cs
- AppDomainShutdownMonitor.cs
- SystemWebCachingSectionGroup.cs
- XmlQualifiedName.cs
- RangeBaseAutomationPeer.cs
- TemplateKeyConverter.cs
- EdgeProfileValidation.cs
- FrugalList.cs
- SortQuery.cs
- BadImageFormatException.cs
- TagPrefixCollection.cs
- InstanceLockedException.cs
- ColorTransformHelper.cs
- ApplicationFileCodeDomTreeGenerator.cs
- WorkflowTransactionOptions.cs
- TextServicesContext.cs
- ParserStack.cs
- KeyEvent.cs
- SafeFileHandle.cs
- BindableTemplateBuilder.cs
- Compiler.cs
- ResourceReferenceExpression.cs
- MulticastNotSupportedException.cs
- HMACMD5.cs
- FacetDescriptionElement.cs
- XmlEnumAttribute.cs
- SafeFileMappingHandle.cs
- SafeFileHandle.cs
- WebScriptEnablingElement.cs
- WorkingDirectoryEditor.cs
- TimeIntervalCollection.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- HostingEnvironmentException.cs
- ThreadAttributes.cs
- ProcessHost.cs
- TrustManagerPromptUI.cs
- ComplexTypeEmitter.cs
- WebServiceFault.cs
- NetworkAddressChange.cs
- SqlMethodTransformer.cs