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
- RSAPKCS1KeyExchangeDeformatter.cs
- DesignOnlyAttribute.cs
- MetafileHeader.cs
- MsmqInputChannelListener.cs
- HttpNamespaceReservationInstallComponent.cs
- MaskDescriptors.cs
- DataContractSerializerSection.cs
- SmtpNetworkElement.cs
- Configuration.cs
- BufferedWebEventProvider.cs
- AstTree.cs
- XmlRawWriter.cs
- JavascriptXmlWriterWrapper.cs
- __ComObject.cs
- ObjectTag.cs
- InvalidOleVariantTypeException.cs
- BinaryFormatterSinks.cs
- GenericNameHandler.cs
- CreateParams.cs
- EvidenceTypeDescriptor.cs
- ObjectSet.cs
- Help.cs
- Point3D.cs
- EventWaitHandleSecurity.cs
- DynamicPropertyReader.cs
- InputMethodStateTypeInfo.cs
- AnnotationStore.cs
- SiteMapDataSource.cs
- UniqueIdentifierService.cs
- DataTemplateSelector.cs
- Window.cs
- StylusCaptureWithinProperty.cs
- PageOutputQuality.cs
- NodeInfo.cs
- DataServiceProcessingPipeline.cs
- EventlogProvider.cs
- XPathNodeHelper.cs
- StandardOleMarshalObject.cs
- ServiceBusyException.cs
- TextElementCollection.cs
- ObjectStateEntry.cs
- RectangleGeometry.cs
- DeflateStream.cs
- RtType.cs
- ProtocolsConfiguration.cs
- SafeEventLogWriteHandle.cs
- ScaleTransform3D.cs
- RegexTree.cs
- EntityParameterCollection.cs
- RemotingConfiguration.cs
- DesignOnlyAttribute.cs
- RelatedImageListAttribute.cs
- SdlChannelSink.cs
- WebEventCodes.cs
- SHA1.cs
- RowType.cs
- DataViewSetting.cs
- XPathChildIterator.cs
- InputLanguageEventArgs.cs
- ThicknessAnimationUsingKeyFrames.cs
- NamedPermissionSet.cs
- DocumentAutomationPeer.cs
- ConnectionStringsSection.cs
- WebSysDisplayNameAttribute.cs
- GridViewAutomationPeer.cs
- DocumentSchemaValidator.cs
- MailWebEventProvider.cs
- TextContainerChangeEventArgs.cs
- DataBindingsDialog.cs
- ToolStripHighContrastRenderer.cs
- MsdtcWrapper.cs
- BigInt.cs
- StrongNameUtility.cs
- Win32KeyboardDevice.cs
- ClientSettingsStore.cs
- BufferCache.cs
- CellConstantDomain.cs
- ExternalCalls.cs
- ArrayTypeMismatchException.cs
- IsolatedStorageException.cs
- DashStyle.cs
- PersonalizableTypeEntry.cs
- TriState.cs
- UTF8Encoding.cs
- SqlRewriteScalarSubqueries.cs
- DbDataReader.cs
- CompositionTarget.cs
- Native.cs
- SqlConnection.cs
- DateTimeValueSerializerContext.cs
- SQLBytes.cs
- TableCellAutomationPeer.cs
- BindingExpressionUncommonField.cs
- VisualProxy.cs
- LinkLabelLinkClickedEvent.cs
- HtmlControl.cs
- DbConnectionPoolGroup.cs
- xmlsaver.cs
- PolyLineSegment.cs
- DateTimeConstantAttribute.cs