Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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 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 { get {return Thread.CurrentThread.AbortReason;} } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StrongName.cs
- oledbconnectionstring.cs
- AxHostDesigner.cs
- XamlTreeBuilderBamlRecordWriter.cs
- _FtpControlStream.cs
- HwndStylusInputProvider.cs
- Point4D.cs
- configsystem.cs
- _SecureChannel.cs
- SQLBytes.cs
- SqlReorderer.cs
- SamlSecurityToken.cs
- WebPartCloseVerb.cs
- PropertyInformationCollection.cs
- TemplateBindingExtensionConverter.cs
- DoubleLinkListEnumerator.cs
- EmptyStringExpandableObjectConverter.cs
- TrackBarRenderer.cs
- HttpSysSettings.cs
- Executor.cs
- CodeVariableDeclarationStatement.cs
- ByeMessageApril2005.cs
- OletxResourceManager.cs
- BoundConstants.cs
- TemplateAction.cs
- ConfigurationValidatorAttribute.cs
- LogicalExpressionTypeConverter.cs
- DurableInstanceContextProvider.cs
- WindowsNonControl.cs
- SoapSchemaExporter.cs
- XamlParser.cs
- LinearGradientBrush.cs
- DataGridRelationshipRow.cs
- ToolStripSettings.cs
- DmlSqlGenerator.cs
- GenericTypeParameterBuilder.cs
- BaseParagraph.cs
- ResourceDictionaryCollection.cs
- StorageMappingItemCollection.cs
- TranslateTransform3D.cs
- FormViewPagerRow.cs
- CustomErrorCollection.cs
- WindowsHyperlink.cs
- KeyPullup.cs
- BinarySerializer.cs
- CustomCategoryAttribute.cs
- RuntimeCompatibilityAttribute.cs
- UpdatePanel.cs
- EntitySqlQueryBuilder.cs
- XmlValidatingReaderImpl.cs
- EFTableProvider.cs
- FieldBuilder.cs
- Stylesheet.cs
- PenCursorManager.cs
- Function.cs
- RoutedEventHandlerInfo.cs
- DynamicRenderer.cs
- FormattedTextSymbols.cs
- RequestStatusBarUpdateEventArgs.cs
- CallbackException.cs
- BufferBuilder.cs
- WinCategoryAttribute.cs
- PKCS1MaskGenerationMethod.cs
- cookiecollection.cs
- StateMachineHistory.cs
- AutoScrollHelper.cs
- SafeProcessHandle.cs
- InteropAutomationProvider.cs
- precedingquery.cs
- DispatcherProcessingDisabled.cs
- LogicalChannelCollection.cs
- XamlSerializationHelper.cs
- EqualityArray.cs
- TablePatternIdentifiers.cs
- Brush.cs
- FontUnitConverter.cs
- MultipartContentParser.cs
- WorkflowServiceHost.cs
- FlowPosition.cs
- HtmlElementEventArgs.cs
- SqlUtil.cs
- DoubleConverter.cs
- DesignerLinkAdapter.cs
- QueryCursorEventArgs.cs
- Pen.cs
- XmlAttributes.cs
- pingexception.cs
- MemberHolder.cs
- FormView.cs
- MenuRendererClassic.cs
- ApplyImportsAction.cs
- DataSourceHelper.cs
- MsmqDecodeHelper.cs
- EndOfStreamException.cs
- DateTimeFormat.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- Axis.cs
- EntityAdapter.cs
- SpinLock.cs
- mactripleDES.cs