Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / Threading / ThreadInterruptedException.cs / 1 / 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); } 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); } 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
- complextypematerializer.cs
- VirtualDirectoryMapping.cs
- CheckBoxPopupAdapter.cs
- MarkupWriter.cs
- ErrorFormatterPage.cs
- SHA256CryptoServiceProvider.cs
- DeclarativeCatalogPartDesigner.cs
- PassportAuthentication.cs
- SiteMapDataSourceView.cs
- TemplateBamlRecordReader.cs
- HashRepartitionStream.cs
- FixedElement.cs
- Operator.cs
- ipaddressinformationcollection.cs
- SpeakInfo.cs
- AvtEvent.cs
- XmlRootAttribute.cs
- RuntimeConfigurationRecord.cs
- DataTableClearEvent.cs
- SQLByte.cs
- ExceptionNotification.cs
- ClientFormsIdentity.cs
- complextypematerializer.cs
- DataListItemCollection.cs
- AdjustableArrowCap.cs
- RootBrowserWindow.cs
- CustomErrorCollection.cs
- DeferrableContentConverter.cs
- EdgeProfileValidation.cs
- GlobalProxySelection.cs
- DataGridViewSelectedColumnCollection.cs
- HideDisabledControlAdapter.cs
- DispatchChannelSink.cs
- ImpersonateTokenRef.cs
- ThousandthOfEmRealPoints.cs
- shaper.cs
- DependentTransaction.cs
- Rect3D.cs
- GraphicsPath.cs
- FunctionCommandText.cs
- SqlTriggerContext.cs
- PrimarySelectionAdorner.cs
- WindowsButton.cs
- NamedPipeTransportSecurity.cs
- AffineTransform3D.cs
- BulletedList.cs
- StateWorkerRequest.cs
- ArraySegment.cs
- BindingEntityInfo.cs
- Metadata.cs
- TextClipboardData.cs
- ForAllOperator.cs
- TakeQueryOptionExpression.cs
- XmlDataSourceView.cs
- SqlFactory.cs
- OracleConnectionStringBuilder.cs
- oledbmetadatacollectionnames.cs
- ZipFileInfo.cs
- QilInvokeEarlyBound.cs
- MetricEntry.cs
- TextServicesManager.cs
- BindingMAnagerBase.cs
- contentDescriptor.cs
- TcpWorkerProcess.cs
- ApplicationInfo.cs
- mactripleDES.cs
- InputScopeManager.cs
- ProfileGroupSettingsCollection.cs
- DataGridAutomationPeer.cs
- PersonalizableAttribute.cs
- HashHelper.cs
- DataControlFieldCollection.cs
- EntityTypeEmitter.cs
- AccessDataSourceView.cs
- Aggregates.cs
- PerformanceCounterTraceRecord.cs
- VBCodeProvider.cs
- CodeStatement.cs
- XmlSerializerAssemblyAttribute.cs
- ConnectionPoolManager.cs
- CommandDevice.cs
- XmlSerializableServices.cs
- TextSpan.cs
- ScrollEventArgs.cs
- Utils.cs
- SqlMethodCallConverter.cs
- PrinterResolution.cs
- CreateUserErrorEventArgs.cs
- NumericUpDown.cs
- objectresult_tresulttype.cs
- ItemsPresenter.cs
- WebPartConnectVerb.cs
- safemediahandle.cs
- TreeViewImageGenerator.cs
- TcpAppDomainProtocolHandler.cs
- TextAdaptor.cs
- State.cs
- DataObjectSettingDataEventArgs.cs
- WpfGeneratedKnownTypes.cs
- SQLDecimalStorage.cs