Code:
/ FX-1434 / FX-1434 / 1.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
- FileLoadException.cs
- HttpResponseInternalWrapper.cs
- HtmlHead.cs
- LayoutTableCell.cs
- MarkupObject.cs
- Canvas.cs
- TableLayoutPanelCellPosition.cs
- Int16.cs
- ClientReliableChannelBinder.cs
- ContractCodeDomInfo.cs
- GC.cs
- Instrumentation.cs
- GroupQuery.cs
- ServiceParser.cs
- CompensatableSequenceActivity.cs
- DynamicRendererThreadManager.cs
- Transform3DGroup.cs
- XmlDictionary.cs
- QilNode.cs
- ToolStripDropDownItem.cs
- InstanceBehavior.cs
- DesignObjectWrapper.cs
- FileIOPermission.cs
- EmbossBitmapEffect.cs
- PingReply.cs
- CodeChecksumPragma.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- EdmPropertyAttribute.cs
- FixedNode.cs
- TaskHelper.cs
- WindowsPrincipal.cs
- DescendantBaseQuery.cs
- AddingNewEventArgs.cs
- TypeDependencyAttribute.cs
- AbstractDataSvcMapFileLoader.cs
- XmlComplianceUtil.cs
- PointKeyFrameCollection.cs
- SmtpDigestAuthenticationModule.cs
- XsdDataContractImporter.cs
- ConstraintCollection.cs
- TextServicesLoader.cs
- PreviewKeyDownEventArgs.cs
- TemplateParser.cs
- filewebrequest.cs
- CompressionTransform.cs
- XamlRtfConverter.cs
- ItemsPanelTemplate.cs
- SqlConnectionPoolProviderInfo.cs
- DataRelationPropertyDescriptor.cs
- DataSpaceManager.cs
- LongSumAggregationOperator.cs
- CultureInfo.cs
- DesignerObjectListAdapter.cs
- XmlTypeMapping.cs
- CodeGroup.cs
- PagesChangedEventArgs.cs
- InvalidPrinterException.cs
- ContainerParagraph.cs
- VolatileEnlistmentMultiplexing.cs
- DataGridColumnCollection.cs
- ProcessModuleCollection.cs
- CatalogPartChrome.cs
- CodeIdentifiers.cs
- TreeNodeSelectionProcessor.cs
- SoapAttributeAttribute.cs
- PartialCachingAttribute.cs
- TextRunProperties.cs
- SessionEndingCancelEventArgs.cs
- CharacterMetrics.cs
- MenuItemCollection.cs
- Validator.cs
- FontCollection.cs
- JsonReaderWriterFactory.cs
- AcceleratedTokenProviderState.cs
- KnownIds.cs
- SecurityTokenAuthenticator.cs
- DbMetaDataFactory.cs
- DbConnectionPoolGroup.cs
- CollectionView.cs
- AttachmentCollection.cs
- TextDecoration.cs
- MarginCollapsingState.cs
- AsmxEndpointPickerExtension.cs
- BufferedReceiveElement.cs
- DBProviderConfigurationHandler.cs
- OpenFileDialog.cs
- SecurityListenerSettingsLifetimeManager.cs
- AssemblyResourceLoader.cs
- Validator.cs
- StrokeCollectionDefaultValueFactory.cs
- AsyncCallback.cs
- ItemList.cs
- Int64AnimationBase.cs
- EntityDataSourceState.cs
- FixedPageProcessor.cs
- GlobalAllocSafeHandle.cs
- GridViewRowPresenter.cs
- LoginDesigner.cs
- RawStylusInputReport.cs
- ImageList.cs