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
- CreateRefExpr.cs
- ResourcesBuildProvider.cs
- PropertyEmitterBase.cs
- DataTableCollection.cs
- IdnElement.cs
- StylusEventArgs.cs
- RequestCacheValidator.cs
- EntityTypeEmitter.cs
- ServiceOperation.cs
- CqlIdentifiers.cs
- ServiceContractDetailViewControl.cs
- MenuItemAutomationPeer.cs
- ReaderOutput.cs
- OleDbReferenceCollection.cs
- TreeNode.cs
- MaterialGroup.cs
- DataSourceXmlSerializationAttribute.cs
- DBCommandBuilder.cs
- WebControlToolBoxItem.cs
- PermissionRequestEvidence.cs
- regiisutil.cs
- DataGridViewAutoSizeModeEventArgs.cs
- ThreadAbortException.cs
- TripleDESCryptoServiceProvider.cs
- SchemaMerger.cs
- DataGridColumn.cs
- columnmapkeybuilder.cs
- ZipIOFileItemStream.cs
- ServiceProviders.cs
- ComplexTypeEmitter.cs
- Int64Storage.cs
- KeyConstraint.cs
- AddInStore.cs
- FileSystemEventArgs.cs
- DataGridViewElement.cs
- FileEnumerator.cs
- _NetworkingPerfCounters.cs
- Misc.cs
- XPathAncestorIterator.cs
- TileBrush.cs
- QueryCorrelationInitializer.cs
- Clock.cs
- Typography.cs
- ArgumentException.cs
- TreeViewEvent.cs
- PreApplicationStartMethodAttribute.cs
- RangeBaseAutomationPeer.cs
- FastEncoderStatics.cs
- LinkTarget.cs
- ProgressiveCrcCalculatingStream.cs
- FlowLayout.cs
- TriggerBase.cs
- PrinterResolution.cs
- ReflectionTypeLoadException.cs
- AppLevelCompilationSectionCache.cs
- FamilyTypefaceCollection.cs
- ParentUndoUnit.cs
- DbReferenceCollection.cs
- dataprotectionpermission.cs
- ThreadAttributes.cs
- ProgressPage.cs
- ApplicationDirectory.cs
- FormsAuthentication.cs
- Transform.cs
- Slider.cs
- GraphicsContainer.cs
- ListMarkerLine.cs
- LocalClientSecuritySettingsElement.cs
- ProfileSettingsCollection.cs
- OdbcConnection.cs
- Number.cs
- CompilerInfo.cs
- TypefaceMetricsCache.cs
- HebrewNumber.cs
- KnownBoxes.cs
- HtmlTableCell.cs
- MemberPathMap.cs
- TableColumn.cs
- XmlSchemaObjectCollection.cs
- DesignTimeParseData.cs
- TextTreeTextNode.cs
- RemoteWebConfigurationHostServer.cs
- GroupBox.cs
- UserControlAutomationPeer.cs
- SelectionPatternIdentifiers.cs
- RequestDescription.cs
- WorkflowRuntimeService.cs
- TextRangeAdaptor.cs
- ADMembershipUser.cs
- PermissionRequestEvidence.cs
- CompoundFileStreamReference.cs
- View.cs
- GB18030Encoding.cs
- _TimerThread.cs
- GZipUtils.cs
- BidPrivateBase.cs
- AnnotationComponentManager.cs
- XamlRtfConverter.cs
- InOutArgument.cs
- WorkflowMarkupSerializer.cs