Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Threading / ThreadInterruptedException.cs / 1305376 / ThreadInterruptedException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // //[....] /*============================================================================== ** ** Class: ThreadInterruptedException ** ** ** Purpose: An exception class to indicate that the thread was interrupted ** from a waiting state. ** ** =============================================================================*/ namespace System.Threading { using System.Threading; using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class ThreadInterruptedException : SystemException { public ThreadInterruptedException() : base(GetMessageFromNativeResources(ExceptionMessageKind.ThreadInterrupted)) { SetErrorCode(__HResults.COR_E_THREADINTERRUPTED); } public ThreadInterruptedException(String message) : base(message) { SetErrorCode(__HResults.COR_E_THREADINTERRUPTED); } public ThreadInterruptedException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_THREADINTERRUPTED); } [System.Security.SecuritySafeCritical] // auto-generated protected ThreadInterruptedException(SerializationInfo info, StreamingContext context) : base (info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // //[....] /*============================================================================== ** ** Class: ThreadInterruptedException ** ** ** Purpose: An exception class to indicate that the thread was interrupted ** from a waiting state. ** ** =============================================================================*/ namespace System.Threading { using System.Threading; using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class ThreadInterruptedException : SystemException { public ThreadInterruptedException() : base(GetMessageFromNativeResources(ExceptionMessageKind.ThreadInterrupted)) { SetErrorCode(__HResults.COR_E_THREADINTERRUPTED); } public ThreadInterruptedException(String message) : base(message) { SetErrorCode(__HResults.COR_E_THREADINTERRUPTED); } public ThreadInterruptedException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_THREADINTERRUPTED); } [System.Security.SecuritySafeCritical] // auto-generated protected ThreadInterruptedException(SerializationInfo info, StreamingContext context) : base (info, context) { } } } // 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
- PrintPreviewGraphics.cs
- DefaultValueMapping.cs
- PartBasedPackageProperties.cs
- BreakRecordTable.cs
- FontFamily.cs
- ButtonChrome.cs
- SessionStateSection.cs
- OleDbPropertySetGuid.cs
- ClientTarget.cs
- Event.cs
- PropertyManager.cs
- Lock.cs
- QuadraticBezierSegment.cs
- counter.cs
- CodeSnippetCompileUnit.cs
- ToolStripOverflowButton.cs
- StandardOleMarshalObject.cs
- RectangleConverter.cs
- RawStylusSystemGestureInputReport.cs
- FontNameEditor.cs
- EncryptedReference.cs
- ImageFormatConverter.cs
- HwndSourceKeyboardInputSite.cs
- HijriCalendar.cs
- TranslateTransform3D.cs
- ViewBox.cs
- EdmSchemaAttribute.cs
- RtType.cs
- MenuEventArgs.cs
- LogReservationCollection.cs
- SettingsBindableAttribute.cs
- DataRecordObjectView.cs
- ProfileGroupSettingsCollection.cs
- TextRange.cs
- HwndTarget.cs
- SqlLiftIndependentRowExpressions.cs
- Logging.cs
- XmlSchemaException.cs
- DelegateTypeInfo.cs
- SqlDataSourceTableQuery.cs
- LocalizedNameDescriptionPair.cs
- IntegerValidatorAttribute.cs
- DataGridViewCell.cs
- NetStream.cs
- WebConfigurationManager.cs
- SplitterCancelEvent.cs
- SrgsDocument.cs
- DataGridView.cs
- WebHttpSecurity.cs
- RegionIterator.cs
- LoginName.cs
- ParentUndoUnit.cs
- VectorConverter.cs
- AggregateNode.cs
- XamlTypeMapper.cs
- SpeechRecognizer.cs
- InsufficientExecutionStackException.cs
- SafeNativeMethods.cs
- Deserializer.cs
- AttributeCollection.cs
- QilStrConcatenator.cs
- XmlSequenceWriter.cs
- DSASignatureDeformatter.cs
- EncoderReplacementFallback.cs
- KeyPullup.cs
- EntityClientCacheKey.cs
- XmlSchemaObject.cs
- TypeUsage.cs
- InkCanvas.cs
- MasterPageCodeDomTreeGenerator.cs
- TdsValueSetter.cs
- XMLUtil.cs
- DataGridBoolColumn.cs
- EntryPointNotFoundException.cs
- DataSvcMapFileSerializer.cs
- StateItem.cs
- IgnoreDeviceFilterElement.cs
- SolidBrush.cs
- CodeAssignStatement.cs
- TextEditorParagraphs.cs
- ParallelDesigner.cs
- SHA512Cng.cs
- IHttpResponseInternal.cs
- TraceSection.cs
- CanonicalFormWriter.cs
- DelimitedListTraceListener.cs
- CommonXSendMessage.cs
- ObjectDataSource.cs
- SymmetricCryptoHandle.cs
- WebHeaderCollection.cs
- TypeDescriptionProviderAttribute.cs
- BaseValidatorDesigner.cs
- ThreadStaticAttribute.cs
- TabletDevice.cs
- Sql8ConformanceChecker.cs
- Viewport2DVisual3D.cs
- SoundPlayerAction.cs
- RenameRuleObjectDialog.cs
- CodeLabeledStatement.cs
- RenderTargetBitmap.cs