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
- TypedTableBaseExtensions.cs
- ColorContext.cs
- QueryContinueDragEventArgs.cs
- NetworkInterface.cs
- SQLString.cs
- DesignerAttribute.cs
- KerberosSecurityTokenAuthenticator.cs
- VisualTreeUtils.cs
- TreeNode.cs
- SQLInt64Storage.cs
- SmtpFailedRecipientException.cs
- UpdatePanel.cs
- SqlNotificationEventArgs.cs
- ErrorWebPart.cs
- XmlSchemaExternal.cs
- OutputCacheModule.cs
- XmlMembersMapping.cs
- TextRange.cs
- ExternalFile.cs
- InvokePattern.cs
- MultiSelectRootGridEntry.cs
- HttpAsyncResult.cs
- LoadRetryHandler.cs
- RawStylusSystemGestureInputReport.cs
- HwndTarget.cs
- Substitution.cs
- EndPoint.cs
- ExpressionVisitor.cs
- SchemaLookupTable.cs
- TypedTableHandler.cs
- SafeHGlobalHandleCritical.cs
- MemberRelationshipService.cs
- XmlSchemaRedefine.cs
- ReferencedCollectionType.cs
- HeaderedContentControl.cs
- SafeArrayTypeMismatchException.cs
- DataRowChangeEvent.cs
- XmlC14NWriter.cs
- IntranetCredentialPolicy.cs
- EnumerableRowCollectionExtensions.cs
- ExtenderProvidedPropertyAttribute.cs
- ReadOnlyDataSourceView.cs
- BaseCodePageEncoding.cs
- DictionarySectionHandler.cs
- ResourceExpressionBuilder.cs
- DragDeltaEventArgs.cs
- DomainConstraint.cs
- OdbcParameterCollection.cs
- ListBoxDesigner.cs
- NumericUpDown.cs
- RegexRunnerFactory.cs
- Byte.cs
- TagPrefixInfo.cs
- GridErrorDlg.cs
- DataGridViewBand.cs
- DynamicDocumentPaginator.cs
- SystemGatewayIPAddressInformation.cs
- ConstraintManager.cs
- AnnotationHelper.cs
- WriteTimeStream.cs
- CacheOutputQuery.cs
- DeferredElementTreeState.cs
- RemotingAttributes.cs
- _CookieModule.cs
- DataChangedEventManager.cs
- Helpers.cs
- VisualTreeHelper.cs
- MulticastDelegate.cs
- ChainOfDependencies.cs
- VisualTreeUtils.cs
- HandlerBase.cs
- Invariant.cs
- ParameterCollection.cs
- XmlDocument.cs
- ColumnWidthChangingEvent.cs
- ProjectionCamera.cs
- WebPartEditVerb.cs
- HierarchicalDataSourceDesigner.cs
- ListenerElementsCollection.cs
- XmlSerializerFactory.cs
- WebPartExportVerb.cs
- GenericPrincipal.cs
- OleDbError.cs
- JumpItem.cs
- RegexWorker.cs
- smtppermission.cs
- PeerInvitationResponse.cs
- DataRow.cs
- ValueSerializerAttribute.cs
- _HTTPDateParse.cs
- BatchStream.cs
- COM2IDispatchConverter.cs
- KerberosSecurityTokenAuthenticator.cs
- TextTreeRootNode.cs
- AssertSection.cs
- CacheChildrenQuery.cs
- RuleAction.cs
- DbModificationCommandTree.cs
- ObjectPropertyMapping.cs
- ObjectSecurity.cs