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
- SigningCredentials.cs
- XhtmlBasicTextBoxAdapter.cs
- Single.cs
- KeyMatchBuilder.cs
- AsnEncodedData.cs
- ThreadExceptionEvent.cs
- DateTimeFormatInfo.cs
- BinaryUtilClasses.cs
- XsltSettings.cs
- DependencyObjectPropertyDescriptor.cs
- GeneralTransform3DGroup.cs
- EventLogPermissionEntry.cs
- ColorTransformHelper.cs
- UrlPath.cs
- BigInt.cs
- TableLayoutRowStyleCollection.cs
- AssociationProvider.cs
- DataBindingList.cs
- VisualCollection.cs
- XmlSchemaInfo.cs
- GestureRecognizer.cs
- FullTextState.cs
- Vector3DAnimationUsingKeyFrames.cs
- ContextBase.cs
- UnsafeNativeMethodsPenimc.cs
- RelationshipDetailsRow.cs
- FragmentQueryProcessor.cs
- Switch.cs
- UniqueEventHelper.cs
- PropertyChangedEventManager.cs
- Semaphore.cs
- CursorEditor.cs
- IndicShape.cs
- TcpStreams.cs
- Visual3DCollection.cs
- RowUpdatedEventArgs.cs
- CodeDOMUtility.cs
- SafeNativeMethodsOther.cs
- TransformGroup.cs
- Point3D.cs
- CompilerState.cs
- StateWorkerRequest.cs
- CodeObjectCreateExpression.cs
- StringFormat.cs
- MultipartIdentifier.cs
- SoapMessage.cs
- clipboard.cs
- PointCollectionValueSerializer.cs
- AdjustableArrowCap.cs
- DrawingGroupDrawingContext.cs
- BooleanAnimationBase.cs
- HandledEventArgs.cs
- UserControlParser.cs
- _NestedMultipleAsyncResult.cs
- OSFeature.cs
- FileEnumerator.cs
- sapiproxy.cs
- ConfigurationValues.cs
- DataGridViewRowHeaderCell.cs
- DataSourceXmlSerializer.cs
- WinEventHandler.cs
- StylusLogic.cs
- ObjectView.cs
- DetailsViewUpdatedEventArgs.cs
- ProtocolsInstallComponent.cs
- SignedXmlDebugLog.cs
- SqlReferenceCollection.cs
- XmlExceptionHelper.cs
- ScrollProviderWrapper.cs
- PlacementWorkspace.cs
- Logging.cs
- EntityDataSourceMemberPath.cs
- followingsibling.cs
- HttpFormatExtensions.cs
- WindowsAuthenticationEventArgs.cs
- TabletDevice.cs
- InstanceCollisionException.cs
- DataServices.cs
- PropertyEmitter.cs
- OracleDataAdapter.cs
- DrawingCollection.cs
- CalendarSelectionChangedEventArgs.cs
- FormClosedEvent.cs
- EntityDataSource.cs
- TypeUtils.cs
- GridEntry.cs
- AnnotationComponentChooser.cs
- TextElementEnumerator.cs
- CrossSiteScriptingValidation.cs
- InstanceView.cs
- SchemaHelper.cs
- Decoder.cs
- NotifyInputEventArgs.cs
- AppDomainEvidenceFactory.cs
- Misc.cs
- TimelineGroup.cs
- IdnMapping.cs
- SocketAddress.cs
- DesignerView.Commands.cs
- IdentityManager.cs