Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Threading / ThreadStateException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated protected ThreadStateException(SerializationInfo info, StreamingContext context) : base (info, context) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HtmlPageAdapter.cs
- XPathNodeInfoAtom.cs
- TraceData.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- ScrollBarAutomationPeer.cs
- _ListenerAsyncResult.cs
- MenuItemStyleCollection.cs
- XamlSerializerUtil.cs
- PerformanceCounterCategory.cs
- PenCursorManager.cs
- SecurityCriticalDataForSet.cs
- cache.cs
- MetadataArtifactLoaderCompositeFile.cs
- SynchronizationContext.cs
- Error.cs
- TabPage.cs
- GradientStop.cs
- NameSpaceExtractor.cs
- SchemaTableOptionalColumn.cs
- OdbcException.cs
- BasicViewGenerator.cs
- DataServiceContext.cs
- MergeFilterQuery.cs
- ComAwareEventInfo.cs
- DataBinding.cs
- XmlNodeReader.cs
- FramingDecoders.cs
- TraceHelpers.cs
- DataGridViewCellStyleChangedEventArgs.cs
- SecurityDescriptor.cs
- MediaScriptCommandRoutedEventArgs.cs
- XpsFilter.cs
- ObjectDataSourceDisposingEventArgs.cs
- RegexWorker.cs
- FileCodeGroup.cs
- EnumerableRowCollectionExtensions.cs
- Select.cs
- ResourcePermissionBaseEntry.cs
- RuleSettings.cs
- XamlPointCollectionSerializer.cs
- PageEventArgs.cs
- XmlSignatureManifest.cs
- MarkupWriter.cs
- CqlIdentifiers.cs
- ComplexTypeEmitter.cs
- TextContainerChangedEventArgs.cs
- QuaternionRotation3D.cs
- HtmlWindow.cs
- ModelItemCollectionImpl.cs
- SafePEFileHandle.cs
- ModifierKeysValueSerializer.cs
- ArrayConverter.cs
- ParallelSeparator.xaml.cs
- MetafileEditor.cs
- HttpStreamXmlDictionaryReader.cs
- ImportStoreException.cs
- CollectionViewGroupRoot.cs
- RequestCacheManager.cs
- TextProperties.cs
- BindableTemplateBuilder.cs
- ConfigurationErrorsException.cs
- LocalizableAttribute.cs
- PointKeyFrameCollection.cs
- MimeFormatExtensions.cs
- EntityModelSchemaGenerator.cs
- XamlParser.cs
- SourceElementsCollection.cs
- DependencySource.cs
- UriTemplateHelpers.cs
- ConsumerConnectionPointCollection.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- LinqExpressionNormalizer.cs
- LiteralTextParser.cs
- PingReply.cs
- CompressedStack.cs
- SafeEventLogWriteHandle.cs
- DateBoldEvent.cs
- dataobject.cs
- SecurityState.cs
- QuadraticBezierSegment.cs
- OdbcInfoMessageEvent.cs
- TransactedReceiveScope.cs
- InvokeWebServiceDesigner.cs
- StringArrayConverter.cs
- Win32SafeHandles.cs
- ListManagerBindingsCollection.cs
- ContextMenuStrip.cs
- _SSPIWrapper.cs
- LowerCaseStringConverter.cs
- OutOfMemoryException.cs
- OlePropertyStructs.cs
- bindurihelper.cs
- SQLSingle.cs
- _ConnectStream.cs
- ToolStripMenuItemCodeDomSerializer.cs
- SymbolPair.cs
- PerfCounters.cs
- StackSpiller.cs
- PersonalizationProvider.cs
- XPathAncestorQuery.cs