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
- Point4DConverter.cs
- WebOperationContext.cs
- AmbientLight.cs
- SmuggledIUnknown.cs
- NamespaceMapping.cs
- DecodeHelper.cs
- RangeValuePattern.cs
- CommandCollectionEditor.cs
- TemplateXamlParser.cs
- XmlEntity.cs
- CatalogPartChrome.cs
- AutomationProperty.cs
- OutputCacheSettingsSection.cs
- HostingEnvironmentSection.cs
- DataPagerFieldCollection.cs
- CompilerErrorCollection.cs
- SrgsDocumentParser.cs
- SequentialWorkflowHeaderFooter.cs
- COM2Enum.cs
- TextCompositionEventArgs.cs
- MultiPropertyDescriptorGridEntry.cs
- SymbolType.cs
- XmlWrappingWriter.cs
- OutOfProcStateClientManager.cs
- XmlQueryType.cs
- SmiRequestExecutor.cs
- IndexedWhereQueryOperator.cs
- AxHost.cs
- MailAddressCollection.cs
- NameObjectCollectionBase.cs
- QilLoop.cs
- DebugView.cs
- TaiwanLunisolarCalendar.cs
- TextTreeUndo.cs
- ExplicitDiscriminatorMap.cs
- Match.cs
- DependencyPropertyHelper.cs
- TextFormatterContext.cs
- LogArchiveSnapshot.cs
- WebPartUserCapability.cs
- DataFormat.cs
- LiteralText.cs
- PasswordValidationException.cs
- _StreamFramer.cs
- TextServicesContext.cs
- ReadOnlyPropertyMetadata.cs
- FileNotFoundException.cs
- EmbeddedMailObject.cs
- Mappings.cs
- DecimalKeyFrameCollection.cs
- XmlSchemaInfo.cs
- Query.cs
- DataServices.cs
- DoubleAnimationUsingPath.cs
- AdornerHitTestResult.cs
- InternalControlCollection.cs
- ApplicationGesture.cs
- SoundPlayerAction.cs
- UniformGrid.cs
- PropertyValueChangedEvent.cs
- ExpandedWrapper.cs
- nulltextnavigator.cs
- CompositeScriptReferenceEventArgs.cs
- SoapHeader.cs
- NotifyCollectionChangedEventArgs.cs
- StringOutput.cs
- HtmlShim.cs
- ComNativeDescriptor.cs
- serverconfig.cs
- Constraint.cs
- ItemCollection.cs
- _OverlappedAsyncResult.cs
- LogStore.cs
- DataGridViewComboBoxEditingControl.cs
- RadioButtonBaseAdapter.cs
- AutomationElement.cs
- RuleRefElement.cs
- StrongNameUtility.cs
- CookieParameter.cs
- ResourcesChangeInfo.cs
- Object.cs
- UserUseLicenseDictionaryLoader.cs
- log.cs
- ToolZoneDesigner.cs
- DependencySource.cs
- Visitor.cs
- CFGGrammar.cs
- XmlLoader.cs
- Solver.cs
- XmlSchemaInferenceException.cs
- ComponentResourceManager.cs
- SystemFonts.cs
- FamilyMapCollection.cs
- QilFactory.cs
- _AuthenticationState.cs
- TableColumn.cs
- ProgressChangedEventArgs.cs
- SmiContextFactory.cs
- SafeMarshalContext.cs
- KeyedCollection.cs