Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ProviderMetadataCachedInformation.cs
- HttpHandlerAction.cs
- ChameleonKey.cs
- OperationParameterInfoCollection.cs
- UIElement.cs
- BoundField.cs
- CngUIPolicy.cs
- ErrorRuntimeConfig.cs
- StaticSiteMapProvider.cs
- MonthChangedEventArgs.cs
- ThicknessConverter.cs
- TextMetrics.cs
- RenderData.cs
- SqlTransaction.cs
- SqlProfileProvider.cs
- WebPartTransformerAttribute.cs
- AsymmetricKeyExchangeFormatter.cs
- ImageSource.cs
- AutomationEventArgs.cs
- Menu.cs
- DataSourceXmlTextReader.cs
- BufferAllocator.cs
- UserControlCodeDomTreeGenerator.cs
- SchemaImporter.cs
- RuleSetDialog.Designer.cs
- ViewGenerator.cs
- ConnectionManagementElementCollection.cs
- XmlWrappingWriter.cs
- CompilerParameters.cs
- DataGridViewRowEventArgs.cs
- ReferencedCollectionType.cs
- AvTraceFormat.cs
- DockPatternIdentifiers.cs
- ImmutableObjectAttribute.cs
- XPathParser.cs
- Stream.cs
- RtType.cs
- InheritanceAttribute.cs
- TraversalRequest.cs
- BaseAddressElementCollection.cs
- CharUnicodeInfo.cs
- NotConverter.cs
- DataKeyArray.cs
- Helpers.cs
- PageRequestManager.cs
- DBAsyncResult.cs
- ConfigurationStrings.cs
- InstanceDataCollection.cs
- BoundField.cs
- PlainXmlWriter.cs
- XmlAttributeProperties.cs
- FormViewDeleteEventArgs.cs
- PreservationFileWriter.cs
- ClientConfigurationHost.cs
- Button.cs
- SqlUdtInfo.cs
- PrintControllerWithStatusDialog.cs
- WebPartConnectionsConnectVerb.cs
- Base64Encoder.cs
- TypeConverterAttribute.cs
- DetailsViewPageEventArgs.cs
- TextEffectCollection.cs
- WeakReference.cs
- XsltInput.cs
- SynchronizedMessageSource.cs
- UniqueIdentifierService.cs
- ParallelDesigner.xaml.cs
- MetafileEditor.cs
- PeerContact.cs
- InvalidAsynchronousStateException.cs
- HttpCachePolicy.cs
- EventPrivateKey.cs
- BuildProviderCollection.cs
- DeploymentExceptionMapper.cs
- EntityModelBuildProvider.cs
- TemplatePropertyEntry.cs
- ASCIIEncoding.cs
- CodeSubDirectory.cs
- Dispatcher.cs
- ErrorLog.cs
- ExtendedProtectionPolicy.cs
- LinkButton.cs
- AsyncOperation.cs
- ColorAnimation.cs
- SystemEvents.cs
- EventMappingSettings.cs
- PartialCachingAttribute.cs
- FileVersionInfo.cs
- TraceHandlerErrorFormatter.cs
- Exceptions.cs
- StructuredType.cs
- ObjectHandle.cs
- QueryContinueDragEvent.cs
- RedirectionProxy.cs
- ViewSimplifier.cs
- DefaultEventAttribute.cs
- SelectionItemProviderWrapper.cs
- TcpDuplicateContext.cs
- ConfigurationLoaderException.cs
- RotateTransform3D.cs