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
- ModelPerspective.cs
- TripleDESCryptoServiceProvider.cs
- ValidationError.cs
- TaskFactory.cs
- PartitionerQueryOperator.cs
- EnterpriseServicesHelper.cs
- HMACRIPEMD160.cs
- SubqueryRules.cs
- controlskin.cs
- TargetParameterCountException.cs
- HttpCookie.cs
- DbParameterHelper.cs
- HostVisual.cs
- ArglessEventHandlerProxy.cs
- DbXmlEnabledProviderManifest.cs
- CellLabel.cs
- BaseCodeDomTreeGenerator.cs
- CompoundFileStreamReference.cs
- NodeLabelEditEvent.cs
- XPathSingletonIterator.cs
- AsyncSerializedWorker.cs
- DbConnectionFactory.cs
- XpsImage.cs
- ScrollBarRenderer.cs
- UnicodeEncoding.cs
- XmlReflectionMember.cs
- MultipleViewPattern.cs
- DataBoundControlAdapter.cs
- ExpandedWrapper.cs
- SimpleMailWebEventProvider.cs
- AppSettingsExpressionBuilder.cs
- MessageSecurityOverMsmq.cs
- HttpServerProtocol.cs
- TypeElement.cs
- SecurityKeyIdentifierClause.cs
- DeclarativeExpressionConditionDeclaration.cs
- AutoScrollHelper.cs
- DependsOnAttribute.cs
- XamlToRtfWriter.cs
- InvariantComparer.cs
- HideDisabledControlAdapter.cs
- BinaryUtilClasses.cs
- CacheOutputQuery.cs
- ObjectSet.cs
- DataBinding.cs
- ComAdminWrapper.cs
- CustomErrorsSection.cs
- MiniParameterInfo.cs
- TraceSection.cs
- Avt.cs
- Catch.cs
- GeometryHitTestParameters.cs
- ComponentResourceManager.cs
- ArrangedElement.cs
- Int32AnimationUsingKeyFrames.cs
- _UriSyntax.cs
- FormViewUpdateEventArgs.cs
- TypeBuilder.cs
- ObservableDictionary.cs
- ParameterCollection.cs
- LogExtent.cs
- CodeFieldReferenceExpression.cs
- DebuggerAttributes.cs
- RemoteDebugger.cs
- WebEvents.cs
- SmtpLoginAuthenticationModule.cs
- RenderOptions.cs
- LineProperties.cs
- SqlDependencyUtils.cs
- CodeAttributeArgumentCollection.cs
- StylusCollection.cs
- PathNode.cs
- ConnectionPoint.cs
- HttpStreamXmlDictionaryReader.cs
- webbrowsersite.cs
- XmlSchemaException.cs
- DataObjectAttribute.cs
- GridViewUpdateEventArgs.cs
- XmlEncodedRawTextWriter.cs
- XslTransform.cs
- CommandID.cs
- DocComment.cs
- XmlReader.cs
- Literal.cs
- Utils.cs
- WindowCollection.cs
- HierarchicalDataSourceControl.cs
- SiteMapPath.cs
- ImageCodecInfo.cs
- SynchronizationContext.cs
- NavigationHelper.cs
- BindingSource.cs
- XmlQueryOutput.cs
- XmlSchemaComplexContent.cs
- ProviderIncompatibleException.cs
- QueryConverter.cs
- NotSupportedException.cs
- ComPlusServiceHost.cs
- RelationshipWrapper.cs
- StringResourceManager.cs