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
- EventHandlers.cs
- Missing.cs
- EventItfInfo.cs
- XmlQualifiedNameTest.cs
- Expression.cs
- Visual3D.cs
- BindingValueChangedEventArgs.cs
- Int16AnimationUsingKeyFrames.cs
- GridViewUpdatedEventArgs.cs
- MaterialGroup.cs
- ConditionBrowserDialog.cs
- InheritanceContextHelper.cs
- NetSectionGroup.cs
- PageRanges.cs
- PublisherMembershipCondition.cs
- GridViewRow.cs
- AutoSizeToolBoxItem.cs
- Clock.cs
- ExecutionEngineException.cs
- InstanceValue.cs
- HighlightComponent.cs
- ObjectTypeMapping.cs
- DomainConstraint.cs
- CachedCompositeFamily.cs
- Style.cs
- InternalSafeNativeMethods.cs
- CookieHandler.cs
- MulticastNotSupportedException.cs
- DataServiceRequestOfT.cs
- ActivityBuilderHelper.cs
- ObjectQueryExecutionPlan.cs
- MatrixStack.cs
- EntityContainerEmitter.cs
- ObjectPersistData.cs
- EnumMember.cs
- Int32AnimationBase.cs
- RemoteCryptoDecryptRequest.cs
- SqlTriggerContext.cs
- ErrorFormatterPage.cs
- ResourceProviderFactory.cs
- ThreadStaticAttribute.cs
- WebEventCodes.cs
- UIHelper.cs
- HandledEventArgs.cs
- DataGridViewComboBoxCell.cs
- CheckBoxList.cs
- CharConverter.cs
- NameObjectCollectionBase.cs
- ChameleonKey.cs
- Propagator.JoinPropagator.cs
- StructuredCompositeActivityDesigner.cs
- Command.cs
- MessageBox.cs
- ISessionStateStore.cs
- TraceInternal.cs
- ExtenderProvidedPropertyAttribute.cs
- InputScopeManager.cs
- _FixedSizeReader.cs
- SqlDataSourceCommandParser.cs
- CategoriesDocument.cs
- XmlDocumentSerializer.cs
- XmlSchemaObjectCollection.cs
- ItemList.cs
- HtmlFormParameterWriter.cs
- DocumentAutomationPeer.cs
- Utility.cs
- ReadOnlyHierarchicalDataSource.cs
- FileDialogPermission.cs
- XmlCDATASection.cs
- FileLogRecord.cs
- AppDomainFactory.cs
- ServiceProviders.cs
- SoapObjectInfo.cs
- DelimitedListTraceListener.cs
- PriorityRange.cs
- BaseValidator.cs
- Exception.cs
- ComplusEndpointConfigContainer.cs
- ConsoleCancelEventArgs.cs
- DataGridItemCollection.cs
- remotingproxy.cs
- IHttpResponseInternal.cs
- SQLByteStorage.cs
- MouseBinding.cs
- PagesSection.cs
- ColorConvertedBitmapExtension.cs
- Margins.cs
- DispatcherObject.cs
- VariableAction.cs
- UrlMappingsSection.cs
- SystemWebSectionGroup.cs
- MultiViewDesigner.cs
- InputManager.cs
- IMembershipProvider.cs
- NameValueCollection.cs
- RegexGroupCollection.cs
- ViewGenResults.cs
- CodeMethodReturnStatement.cs
- XPathSelectionIterator.cs
- ButtonAutomationPeer.cs