Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- NonVisualControlAttribute.cs
- ObjectViewFactory.cs
- EllipticalNodeOperations.cs
- _DynamicWinsockMethods.cs
- DataComponentGenerator.cs
- ToolStripPanel.cs
- Missing.cs
- ResourceExpressionBuilder.cs
- ChannelReliableSession.cs
- MemberProjectedSlot.cs
- XMLSchema.cs
- TextBoxRenderer.cs
- ServiceProviders.cs
- Latin1Encoding.cs
- DragDrop.cs
- ConfigDefinitionUpdates.cs
- XmlReader.cs
- ContentElementAutomationPeer.cs
- FigureHelper.cs
- CurrentChangedEventManager.cs
- Verify.cs
- httpstaticobjectscollection.cs
- Size3DConverter.cs
- SoapInteropTypes.cs
- StateManager.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- GreaterThanOrEqual.cs
- RectAnimationClockResource.cs
- baseaxisquery.cs
- StrongName.cs
- ShapingEngine.cs
- NativeWindow.cs
- WorkflowMessageEventArgs.cs
- NetworkCredential.cs
- Utility.cs
- LinkArea.cs
- CodeMethodInvokeExpression.cs
- WpfXamlMember.cs
- XmlArrayItemAttribute.cs
- HandlerBase.cs
- ComplusEndpointConfigContainer.cs
- ColorConverter.cs
- MailDefinition.cs
- Size.cs
- LockedBorderGlyph.cs
- BooleanKeyFrameCollection.cs
- MoveSizeWinEventHandler.cs
- ResolveNameEventArgs.cs
- NameService.cs
- DrawingServices.cs
- ConnectionManagementElementCollection.cs
- MeasurementDCInfo.cs
- SqlUserDefinedTypeAttribute.cs
- StringConcat.cs
- ServiceNotStartedException.cs
- CompressEmulationStream.cs
- CommandID.cs
- SourceElementsCollection.cs
- SQLMoney.cs
- PropertyGroupDescription.cs
- XmlSignatureManifest.cs
- PathSegmentCollection.cs
- MetadataUtilsSmi.cs
- WsdlParser.cs
- Attributes.cs
- RuleSettingsCollection.cs
- NullableIntMinMaxAggregationOperator.cs
- GenericXmlSecurityToken.cs
- HandleCollector.cs
- RightsManagementEncryptedStream.cs
- MetadataException.cs
- LayoutManager.cs
- ToolStripItemTextRenderEventArgs.cs
- EntityDataSourceDesignerHelper.cs
- BitmapSourceSafeMILHandle.cs
- RankException.cs
- CircleHotSpot.cs
- SizeAnimationClockResource.cs
- ZipFileInfo.cs
- XPathDocumentNavigator.cs
- SchemaSetCompiler.cs
- ToolStripItemCollection.cs
- COM2PropertyBuilderUITypeEditor.cs
- UiaCoreTypesApi.cs
- RelatedCurrencyManager.cs
- LowerCaseStringConverter.cs
- SynchronousChannelMergeEnumerator.cs
- VisualCollection.cs
- CommonGetThemePartSize.cs
- WebServiceData.cs
- SoapAttributes.cs
- BamlStream.cs
- CustomValidator.cs
- StoreAnnotationsMap.cs
- ConnectionPoolManager.cs
- HttpResponseWrapper.cs
- ListViewItemEventArgs.cs
- Label.cs
- LastQueryOperator.cs
- StaticExtensionConverter.cs