Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Threading / ThreadStateException.cs / 1305376 / ThreadStateException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== // //[....] /*============================================================================== ** ** Class: ThreadStateException ** ** ** Purpose: An exception class to indicate that the Thread class is in an ** invalid state for the method. ** ** =============================================================================*/ namespace System.Threading { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable] public class ThreadStateException : SystemException { public ThreadStateException() : base(Environment.GetResourceString("Arg_ThreadStateException")) { SetErrorCode(__HResults.COR_E_THREADSTATE); } public ThreadStateException(String message) : base(message) { SetErrorCode(__HResults.COR_E_THREADSTATE); } public ThreadStateException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_THREADSTATE); } [System.Security.SecuritySafeCritical] // auto-generated protected ThreadStateException(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
- RegexCapture.cs
- RoleManagerEventArgs.cs
- DataGridTextBoxColumn.cs
- GroupBox.cs
- CLRBindingWorker.cs
- XmlDataFileEditor.cs
- _LazyAsyncResult.cs
- CodeCatchClauseCollection.cs
- SerializationHelper.cs
- WindowsFont.cs
- VirtualPathProvider.cs
- DeploymentSectionCache.cs
- EdmFunction.cs
- WaitHandleCannotBeOpenedException.cs
- KeyMatchBuilder.cs
- SelfSignedCertificate.cs
- SqlTypeSystemProvider.cs
- control.ime.cs
- PointAnimation.cs
- ListViewHitTestInfo.cs
- DataRelationCollection.cs
- Int16AnimationUsingKeyFrames.cs
- SecurityKeyIdentifier.cs
- ButtonField.cs
- DtrList.cs
- BooleanStorage.cs
- Stack.cs
- LocalizedNameDescriptionPair.cs
- GridToolTip.cs
- WebPartManagerInternals.cs
- MethodCallConverter.cs
- contentDescriptor.cs
- SqlConnectionStringBuilder.cs
- DispatcherProcessingDisabled.cs
- ThreadAbortException.cs
- StubHelpers.cs
- Label.cs
- HttpHandlerActionCollection.cs
- _SecureChannel.cs
- TextServicesHost.cs
- WebServiceResponse.cs
- EventWaitHandle.cs
- coordinator.cs
- WebPartDescriptionCollection.cs
- FixedPageStructure.cs
- uribuilder.cs
- BaseTemplateParser.cs
- UidManager.cs
- Attributes.cs
- LineInfo.cs
- CdpEqualityComparer.cs
- HttpPostedFileBase.cs
- ProgramPublisher.cs
- DoubleAnimationBase.cs
- StorageInfo.cs
- AutomationPropertyInfo.cs
- PartManifestEntry.cs
- DataGridViewCellCollection.cs
- LocalIdKeyIdentifierClause.cs
- PartitionedDataSource.cs
- Mutex.cs
- NullableFloatSumAggregationOperator.cs
- Rules.cs
- FullTextLine.cs
- Processor.cs
- TrustManagerMoreInformation.cs
- PanelStyle.cs
- XmlDataContract.cs
- BaseTemplateParser.cs
- DisplayNameAttribute.cs
- SQLDateTimeStorage.cs
- NumberFormatInfo.cs
- BitSet.cs
- XmlSchemaAttributeGroupRef.cs
- DebugInfoExpression.cs
- ThicknessKeyFrameCollection.cs
- SerializationFieldInfo.cs
- ReaderWriterLock.cs
- DrawingCollection.cs
- CallSite.cs
- URLBuilder.cs
- GenericUriParser.cs
- RuntimeWrappedException.cs
- ImageMapEventArgs.cs
- RC2CryptoServiceProvider.cs
- followingsibling.cs
- TypeConverterAttribute.cs
- HttpCapabilitiesEvaluator.cs
- WebServiceHost.cs
- PropertyGridDesigner.cs
- MDIControlStrip.cs
- PolygonHotSpot.cs
- WebPartZone.cs
- ISO2022Encoding.cs
- SystemInfo.cs
- EditorZoneAutoFormat.cs
- ClosureBinding.cs
- XmlEntity.cs
- NumberFormatter.cs
- ServerValidateEventArgs.cs