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
- BitArray.cs
- UidManager.cs
- PropertyCollection.cs
- MissingFieldException.cs
- RtfControlWordInfo.cs
- TailCallAnalyzer.cs
- GenericUriParser.cs
- DataRecordInfo.cs
- CodeSnippetCompileUnit.cs
- ComplexTypeEmitter.cs
- ClickablePoint.cs
- EmptyReadOnlyDictionaryInternal.cs
- DeviceContexts.cs
- CaseExpr.cs
- EntityDataSourceContainerNameConverter.cs
- ScriptControl.cs
- SettingsBase.cs
- util.cs
- FormsAuthenticationCredentials.cs
- DrawingCollection.cs
- SynchronizingStream.cs
- HttpListenerResponse.cs
- SwitchExpression.cs
- SpeechSeg.cs
- ClientTarget.cs
- BitConverter.cs
- EmptyReadOnlyDictionaryInternal.cs
- x509utils.cs
- AlternateViewCollection.cs
- ColumnHeader.cs
- TileBrush.cs
- DummyDataSource.cs
- TabletCollection.cs
- DataControlLinkButton.cs
- RestHandler.cs
- MetadataException.cs
- WebPartAddingEventArgs.cs
- _NestedMultipleAsyncResult.cs
- InternalConfigSettingsFactory.cs
- SmtpTransport.cs
- OutputScopeManager.cs
- SubstitutionResponseElement.cs
- documentsequencetextpointer.cs
- StreamReader.cs
- DataListDesigner.cs
- StorageInfo.cs
- CategoryAttribute.cs
- ConfigViewGenerator.cs
- xdrvalidator.cs
- HtmlMeta.cs
- StreamBodyWriter.cs
- TextDecorationUnitValidation.cs
- ConnectionManagementSection.cs
- HandleValueEditor.cs
- IntMinMaxAggregationOperator.cs
- VBIdentifierName.cs
- Sql8ConformanceChecker.cs
- HtmlButton.cs
- HttpHandlersSection.cs
- EFColumnProvider.cs
- MetadataSource.cs
- RawStylusInput.cs
- ObservableDictionary.cs
- FormsAuthentication.cs
- XsdValidatingReader.cs
- wgx_sdk_version.cs
- CqlErrorHelper.cs
- MailAddressParser.cs
- SourceChangedEventArgs.cs
- RangeValueProviderWrapper.cs
- CollectionMarkupSerializer.cs
- CommandBinding.cs
- Stream.cs
- HighlightComponent.cs
- HtmlControlPersistable.cs
- brushes.cs
- SocketInformation.cs
- ObjectDataSource.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- WinEventWrap.cs
- DrawToolTipEventArgs.cs
- WebPartTransformer.cs
- DataServiceHost.cs
- PropertyTab.cs
- COM2Properties.cs
- PriorityItem.cs
- DynamicRendererThreadManager.cs
- CodeTryCatchFinallyStatement.cs
- XmlArrayAttribute.cs
- IProvider.cs
- TransformerConfigurationWizardBase.cs
- ViewGenerator.cs
- xsdvalidator.cs
- SoapFault.cs
- ConfigurationSectionGroup.cs
- DataSourceUtil.cs
- SolidColorBrush.cs
- LocalizableAttribute.cs
- DesignColumnCollection.cs
- PerfCounterSection.cs