Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / Threading / ThreadStateException.cs / 1 / 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); } protected ThreadStateException(SerializationInfo info, StreamingContext context) : base (info, context) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SlipBehavior.cs
- PageThemeParser.cs
- XmlAttributeOverrides.cs
- ActivityCodeDomSerializer.cs
- ResourceExpressionEditor.cs
- RowBinding.cs
- HttpWebRequest.cs
- SqlUtil.cs
- CryptoHelper.cs
- AjaxFrameworkAssemblyAttribute.cs
- ClientSideQueueItem.cs
- WebHeaderCollection.cs
- DuplexChannel.cs
- KeySplineConverter.cs
- RelatedPropertyManager.cs
- MemberAssignment.cs
- SmiSettersStream.cs
- EditorAttribute.cs
- ReaderContextStackData.cs
- DateTimeValueSerializerContext.cs
- NativeRecognizer.cs
- GeneralTransform3DGroup.cs
- CachedCompositeFamily.cs
- EntityClassGenerator.cs
- SecurityState.cs
- XsltArgumentList.cs
- WebScriptMetadataMessageEncoderFactory.cs
- SetStateEventArgs.cs
- ValidationHelper.cs
- WebZone.cs
- GridToolTip.cs
- bindurihelper.cs
- InternalRelationshipCollection.cs
- HandlerBase.cs
- ThreadBehavior.cs
- TheQuery.cs
- UpdateRecord.cs
- XmlAnyElementAttributes.cs
- RemoteHelper.cs
- Peer.cs
- WindowsSysHeader.cs
- SegmentInfo.cs
- ReflectEventDescriptor.cs
- DataGridPagerStyle.cs
- OracleTransaction.cs
- LinkDesigner.cs
- EncoderNLS.cs
- WebControl.cs
- AsyncWaitHandle.cs
- EntityKey.cs
- SqlAliaser.cs
- XPathNavigatorReader.cs
- StrongTypingException.cs
- TypeToTreeConverter.cs
- XmlText.cs
- DataControlFieldCollection.cs
- MultipleViewPattern.cs
- PropertyChangeTracker.cs
- SimpleParser.cs
- safesecurityhelperavalon.cs
- AndCondition.cs
- CommandHelpers.cs
- RtType.cs
- SeparatorAutomationPeer.cs
- DragEventArgs.cs
- EditBehavior.cs
- PresentationUIStyleResources.cs
- JournalEntryStack.cs
- EdmProviderManifest.cs
- HttpDebugHandler.cs
- ReflectEventDescriptor.cs
- DrawingBrush.cs
- TextBoxBase.cs
- PrivilegedConfigurationManager.cs
- Camera.cs
- ExpressionBindingCollection.cs
- OleDbReferenceCollection.cs
- Int32Animation.cs
- TextRangeEditTables.cs
- RootBuilder.cs
- CompoundFileIOPermission.cs
- ModulesEntry.cs
- AspNetCompatibilityRequirementsAttribute.cs
- EntityDataSourceWrapperCollection.cs
- EasingFunctionBase.cs
- Point3DAnimation.cs
- PropertyEntry.cs
- BaseCodePageEncoding.cs
- WsdlExporter.cs
- MenuItemBindingCollection.cs
- GenericWebPart.cs
- Debugger.cs
- XPathEmptyIterator.cs
- ImageMetadata.cs
- MemberDomainMap.cs
- CachedPathData.cs
- ControlBindingsCollection.cs
- OleDbMetaDataFactory.cs
- SqlCacheDependency.cs
- MediaSystem.cs