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
- TypeSchema.cs
- RsaEndpointIdentity.cs
- SqlGatherConsumedAliases.cs
- HostDesigntimeLicenseContext.cs
- RSATokenProvider.cs
- NativeMethods.cs
- ScriptingRoleServiceSection.cs
- OleServicesContext.cs
- ControlBuilderAttribute.cs
- SystemIcons.cs
- RuntimeArgumentHandle.cs
- UnauthorizedAccessException.cs
- XmlObjectSerializerWriteContext.cs
- DataListItem.cs
- PieceDirectory.cs
- QilLiteral.cs
- WindowsUpDown.cs
- TransformerTypeCollection.cs
- FormsAuthenticationConfiguration.cs
- ConnectionInterfaceCollection.cs
- XmlCharCheckingWriter.cs
- CompletedAsyncResult.cs
- UnsafeNativeMethods.cs
- AssertFilter.cs
- CopyOfAction.cs
- SqlCacheDependencyDatabaseCollection.cs
- TraceHandler.cs
- SqlClientMetaDataCollectionNames.cs
- PnrpPermission.cs
- FlowPosition.cs
- TraceSource.cs
- UIElementAutomationPeer.cs
- TextCharacters.cs
- TransformGroup.cs
- BitVec.cs
- OptimizedTemplateContentHelper.cs
- RequestTimeoutManager.cs
- XomlCompilerParameters.cs
- sqlinternaltransaction.cs
- StrokeFIndices.cs
- OracleTimeSpan.cs
- LocalizableAttribute.cs
- SoapReflectionImporter.cs
- LocationEnvironment.cs
- BinHexDecoder.cs
- XDeferredAxisSource.cs
- NamespaceMapping.cs
- PolicyChain.cs
- StyleModeStack.cs
- XmlName.cs
- WebPartDescriptionCollection.cs
- HtmlString.cs
- ProgressBarHighlightConverter.cs
- Button.cs
- ClipboardData.cs
- ToolboxDataAttribute.cs
- MimeParameter.cs
- System.Data.OracleClient_BID.cs
- GeneratedView.cs
- NullExtension.cs
- CompensationDesigner.cs
- MessagePropertyFilter.cs
- CuspData.cs
- DesignerRegionCollection.cs
- BezierSegment.cs
- ObjectTag.cs
- EtwProvider.cs
- PointKeyFrameCollection.cs
- BamlTreeUpdater.cs
- StyleCollectionEditor.cs
- SoapMessage.cs
- SqlDataSourceFilteringEventArgs.cs
- SessionParameter.cs
- HttpConfigurationSystem.cs
- WebPart.cs
- HttpCacheVary.cs
- FixedBufferAttribute.cs
- AttachedPropertyMethodSelector.cs
- AuthenticationConfig.cs
- QilUnary.cs
- XmlSchemaGroup.cs
- HttpRequestBase.cs
- DynamicQueryableWrapper.cs
- SaveFileDialog.cs
- TextParentUndoUnit.cs
- WebReferencesBuildProvider.cs
- GacUtil.cs
- SymLanguageType.cs
- HyperLinkField.cs
- UInt32.cs
- SpeakInfo.cs
- TransportSecurityProtocol.cs
- CallTemplateAction.cs
- SchemaImporterExtensionsSection.cs
- Token.cs
- HtmlToClrEventProxy.cs
- DbParameterCollectionHelper.cs
- SetStoryboardSpeedRatio.cs
- ViewManager.cs
- SqlCacheDependencyDatabase.cs