Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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. // // ==--== /*============================================================================== ** ** 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SystemIPAddressInformation.cs
- StrongNameIdentityPermission.cs
- DataRelationPropertyDescriptor.cs
- Paragraph.cs
- RuleInfoComparer.cs
- HitTestWithGeometryDrawingContextWalker.cs
- DrawingContextDrawingContextWalker.cs
- QueryStatement.cs
- regiisutil.cs
- SqlPersistenceProviderFactory.cs
- StringConverter.cs
- ThreadNeutralSemaphore.cs
- FlowDocumentScrollViewerAutomationPeer.cs
- PolyLineSegment.cs
- NoneExcludedImageIndexConverter.cs
- Stack.cs
- PerfCounters.cs
- FontCacheUtil.cs
- HotSpot.cs
- SQLBinary.cs
- TransformedBitmap.cs
- Pen.cs
- LocatorBase.cs
- StorageInfo.cs
- XmlSchemaComplexContent.cs
- ConnectionStringsExpressionBuilder.cs
- IgnoreDeviceFilterElementCollection.cs
- StreamWriter.cs
- ExpressionBuilder.cs
- ControlPropertyNameConverter.cs
- HGlobalSafeHandle.cs
- DataSourceCacheDurationConverter.cs
- ListViewGroupItemCollection.cs
- RadioButtonRenderer.cs
- TreeNodeClickEventArgs.cs
- OLEDB_Util.cs
- GridViewAutomationPeer.cs
- EditingCoordinator.cs
- _HTTPDateParse.cs
- ModelItem.cs
- IChannel.cs
- ServiceAuthorizationBehavior.cs
- NetworkAddressChange.cs
- SchemaMapping.cs
- StorageMappingFragment.cs
- ConditionedDesigner.cs
- exports.cs
- EntityParameterCollection.cs
- UIElement.cs
- DefaultValueConverter.cs
- EntityConnection.cs
- ConversionHelper.cs
- ExpressionBinding.cs
- XmlDomTextWriter.cs
- Timer.cs
- PropertyInformation.cs
- QuerySetOp.cs
- SendMailErrorEventArgs.cs
- TaiwanCalendar.cs
- HashStream.cs
- IIS7UserPrincipal.cs
- RegionInfo.cs
- DiffuseMaterial.cs
- Serializer.cs
- messageonlyhwndwrapper.cs
- OracleCommandBuilder.cs
- SchemaExporter.cs
- XmlDocumentSerializer.cs
- MetabaseSettings.cs
- ResourcePool.cs
- JulianCalendar.cs
- WebException.cs
- Win32KeyboardDevice.cs
- ConfigurationStrings.cs
- OleDbRowUpdatedEvent.cs
- Listbox.cs
- FtpCachePolicyElement.cs
- bidPrivateBase.cs
- TextBlockAutomationPeer.cs
- Lease.cs
- WindowsAltTab.cs
- CultureNotFoundException.cs
- XmlBindingWorker.cs
- PaperSize.cs
- BufferedGraphics.cs
- DataContractAttribute.cs
- VirtualPathUtility.cs
- PolyLineSegment.cs
- ColorIndependentAnimationStorage.cs
- ProfileEventArgs.cs
- HostProtectionPermission.cs
- ResourceWriter.cs
- Mutex.cs
- AlternateViewCollection.cs
- FontCollection.cs
- SecurityToken.cs
- LassoHelper.cs
- EncoderParameters.cs
- SqlWriter.cs
- FunctionImportMapping.cs