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
- ErrorStyle.cs
- ExecutionTracker.cs
- SwitchElementsCollection.cs
- StrokeDescriptor.cs
- IODescriptionAttribute.cs
- EntityEntry.cs
- DataRelation.cs
- DataSourceDescriptorCollection.cs
- RuleProcessor.cs
- CapacityStreamGeometryContext.cs
- CompositeScriptReference.cs
- SqlRecordBuffer.cs
- VirtualPath.cs
- DataGridViewTextBoxEditingControl.cs
- XmlFormatExtensionAttribute.cs
- ClickablePoint.cs
- XmlDataLoader.cs
- PageBorderless.cs
- AttachedPropertyBrowsableAttribute.cs
- MouseDevice.cs
- CodeCompileUnit.cs
- ContextMenuAutomationPeer.cs
- Logging.cs
- ExpressionBinding.cs
- SQLMembershipProvider.cs
- DoWorkEventArgs.cs
- StrokeSerializer.cs
- PipeStream.cs
- PrivateFontCollection.cs
- LifetimeServices.cs
- MethodCallConverter.cs
- ToolStripItemTextRenderEventArgs.cs
- _LazyAsyncResult.cs
- Vector3DConverter.cs
- ContractBase.cs
- ObjectListCommandsPage.cs
- MappingException.cs
- ExtentJoinTreeNode.cs
- ComponentEvent.cs
- PeerApplication.cs
- Touch.cs
- SizeAnimationClockResource.cs
- counter.cs
- ResourceSet.cs
- IDQuery.cs
- ClientTarget.cs
- JapaneseLunisolarCalendar.cs
- AxParameterData.cs
- X509AsymmetricSecurityKey.cs
- RemotingAttributes.cs
- ClientTargetSection.cs
- MenuEventArgs.cs
- XPathNavigatorKeyComparer.cs
- Crypto.cs
- DataSourceHelper.cs
- RelatedImageListAttribute.cs
- future.cs
- ImageSourceConverter.cs
- SimpleType.cs
- LinqDataSourceContextEventArgs.cs
- X509Utils.cs
- GetPageCompletedEventArgs.cs
- FontDifferentiator.cs
- PolyLineSegment.cs
- BeginStoryboard.cs
- DataBindingList.cs
- FloaterBaseParagraph.cs
- SqlDataAdapter.cs
- IOException.cs
- CodeGenerator.cs
- RuntimeIdentifierPropertyAttribute.cs
- FullTrustAssembliesSection.cs
- RequestResizeEvent.cs
- GenericParameterDataContract.cs
- Button.cs
- KoreanLunisolarCalendar.cs
- Debugger.cs
- Message.cs
- XmlQueryRuntime.cs
- EntityViewGenerationAttribute.cs
- DynamicQueryableWrapper.cs
- DesignerTextViewAdapter.cs
- NetTcpSecurity.cs
- ObjectResult.cs
- ConsoleTraceListener.cs
- odbcmetadatacolumnnames.cs
- DefaultPropertyAttribute.cs
- ChildTable.cs
- MetadataCacheItem.cs
- HttpClientCertificate.cs
- JsonEncodingStreamWrapper.cs
- MDIClient.cs
- TitleStyle.cs
- CodeBinaryOperatorExpression.cs
- NamedElement.cs
- WebPartAuthorizationEventArgs.cs
- _LocalDataStoreMgr.cs
- SmtpDigestAuthenticationModule.cs
- SmtpDigestAuthenticationModule.cs
- ApplicationSettingsBase.cs