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
- RelativeSource.cs
- ParentUndoUnit.cs
- StylusButtonEventArgs.cs
- AnnotationService.cs
- ReflectionUtil.cs
- ApplicationFileCodeDomTreeGenerator.cs
- DependencyObjectProvider.cs
- EnvironmentPermission.cs
- XpsS0ValidatingLoader.cs
- ObjectViewListener.cs
- ManipulationDelta.cs
- PropertyEmitter.cs
- FunctionImportElement.cs
- HtmlImage.cs
- SqlDependency.cs
- TogglePattern.cs
- ThousandthOfEmRealDoubles.cs
- XmlSerializerFactory.cs
- login.cs
- NamespaceCollection.cs
- TabPanel.cs
- ListItemConverter.cs
- WindowsMenu.cs
- TypeGeneratedEventArgs.cs
- PropertyDescriptorCollection.cs
- InteropEnvironment.cs
- TransformerInfoCollection.cs
- MouseEvent.cs
- MatrixAnimationUsingKeyFrames.cs
- StringOutput.cs
- Lock.cs
- FormViewUpdateEventArgs.cs
- AuthenticationConfig.cs
- CurrentChangedEventManager.cs
- PathGeometry.cs
- ProxyElement.cs
- CompareValidator.cs
- CipherData.cs
- TypeProvider.cs
- LinqDataSource.cs
- ObjectListItemCollection.cs
- X509CertificateEndpointIdentity.cs
- XmlDocumentSurrogate.cs
- SystemSounds.cs
- WasEndpointConfigContainer.cs
- EntityCommandDefinition.cs
- CodeSubDirectory.cs
- ComponentResourceManager.cs
- OperationCanceledException.cs
- adornercollection.cs
- StrokeSerializer.cs
- HandlerElement.cs
- Attributes.cs
- IndexExpression.cs
- ElasticEase.cs
- SvcMapFile.cs
- XmlWriterSettings.cs
- StopStoryboard.cs
- EndpointDiscoveryMetadata11.cs
- RenameRuleObjectDialog.cs
- PageContentCollection.cs
- InteropBitmapSource.cs
- SerializerProvider.cs
- PreProcessor.cs
- EdmSchemaError.cs
- BamlStream.cs
- DynamicPropertyReader.cs
- ServicePointManagerElement.cs
- DiffuseMaterial.cs
- HelpFileFileNameEditor.cs
- DataGridViewColumnStateChangedEventArgs.cs
- CodeNamespaceCollection.cs
- ClientConfigurationSystem.cs
- DataServiceProviderWrapper.cs
- XmlSchemaValidationException.cs
- AsmxEndpointPickerExtension.cs
- ValidationError.cs
- _ShellExpression.cs
- Size.cs
- ResourcesBuildProvider.cs
- JsonQNameDataContract.cs
- BindableTemplateBuilder.cs
- RadioButton.cs
- Byte.cs
- CustomWebEventKey.cs
- NamedPipeTransportSecurityElement.cs
- CommonRemoteMemoryBlock.cs
- ResourceContainer.cs
- querybuilder.cs
- UnmanagedMemoryStreamWrapper.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- StatusBarPanelClickEvent.cs
- UnhandledExceptionEventArgs.cs
- SyndicationItem.cs
- DataGridViewColumnConverter.cs
- ScrollItemPattern.cs
- DesignerLinkAdapter.cs
- MouseGestureValueSerializer.cs
- QilFunction.cs
- PageContentCollection.cs