Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- ChangeProcessor.cs
- DrawingGroupDrawingContext.cs
- HttpApplicationStateBase.cs
- CannotUnloadAppDomainException.cs
- HopperCache.cs
- DBSchemaTable.cs
- Rectangle.cs
- ConnectionPoint.cs
- ContainerParagraph.cs
- _AcceptOverlappedAsyncResult.cs
- TemplatedEditableDesignerRegion.cs
- UIElementHelper.cs
- MetadataCollection.cs
- InputElement.cs
- DataQuery.cs
- ContainerSelectorActiveEvent.cs
- Module.cs
- PageThemeParser.cs
- UDPClient.cs
- SqlXml.cs
- SystemException.cs
- RefExpr.cs
- XmlEnumAttribute.cs
- StorageConditionPropertyMapping.cs
- clipboard.cs
- PackWebRequestFactory.cs
- SerializerDescriptor.cs
- Logging.cs
- ColorAnimationUsingKeyFrames.cs
- ApplicationSecurityManager.cs
- Ray3DHitTestResult.cs
- PageTheme.cs
- XamlBrushSerializer.cs
- WebPartCancelEventArgs.cs
- InstancePersistenceCommand.cs
- DataPager.cs
- ContextMenuService.cs
- EntityDataSourceValidationException.cs
- OrderedEnumerableRowCollection.cs
- Wildcard.cs
- StatusBarPanel.cs
- IntegerFacetDescriptionElement.cs
- Form.cs
- UITypeEditor.cs
- WebPartConnectionsConfigureVerb.cs
- DataGridCellsPanel.cs
- SqlColumnizer.cs
- ReservationCollection.cs
- SpellerInterop.cs
- basecomparevalidator.cs
- FormsAuthentication.cs
- OracleSqlParser.cs
- InstalledFontCollection.cs
- Point.cs
- MailDefinition.cs
- _CommandStream.cs
- Polygon.cs
- DataSourceCacheDurationConverter.cs
- QilPatternVisitor.cs
- TypeUtils.cs
- AttachedPropertyMethodSelector.cs
- XmlCharacterData.cs
- SettingsProviderCollection.cs
- BindingContext.cs
- EntryPointNotFoundException.cs
- MarkerProperties.cs
- EventLogPermission.cs
- DataControlImageButton.cs
- ScrollEvent.cs
- PolygonHotSpot.cs
- IODescriptionAttribute.cs
- bidPrivateBase.cs
- SafeFileMappingHandle.cs
- Identifier.cs
- COAUTHINFO.cs
- NavigateEvent.cs
- TimelineClockCollection.cs
- ImageBrush.cs
- WindowShowOrOpenTracker.cs
- BasicExpandProvider.cs
- ResourceContainer.cs
- ParagraphResult.cs
- WindowsListViewScroll.cs
- ClientOptions.cs
- SerialPinChanges.cs
- TrackingMemoryStreamFactory.cs
- SizeKeyFrameCollection.cs
- DataControlField.cs
- SecurityUniqueId.cs
- CryptoApi.cs
- _NetRes.cs
- BitSet.cs
- RangeContentEnumerator.cs
- ConnectionPoolManager.cs
- WindowsGraphics.cs
- EmptyReadOnlyDictionaryInternal.cs
- ComponentEditorForm.cs
- TreeView.cs
- UnaryNode.cs
- DetailsViewPagerRow.cs