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
- ResourcePermissionBaseEntry.cs
- CompilerInfo.cs
- HtmlTernaryTree.cs
- SettingsSavedEventArgs.cs
- StorageAssociationSetMapping.cs
- odbcmetadatacollectionnames.cs
- DataListItem.cs
- HtmlInputFile.cs
- WebPartConnectVerb.cs
- InvalidWMPVersionException.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- IntPtr.cs
- QueryCacheKey.cs
- TagElement.cs
- CfgParser.cs
- Translator.cs
- TimeSpanOrInfiniteValidator.cs
- Input.cs
- GACIdentityPermission.cs
- EntityDataSourceState.cs
- WebSysDisplayNameAttribute.cs
- HttpValueCollection.cs
- DbDataRecord.cs
- AutomationPropertyInfo.cs
- TimelineGroup.cs
- Bits.cs
- LogicalMethodInfo.cs
- SqlParameterizer.cs
- assertwrapper.cs
- HttpServerUtilityBase.cs
- BaseComponentEditor.cs
- WorkflowExecutor.cs
- Knowncolors.cs
- XslAstAnalyzer.cs
- OpacityConverter.cs
- FlowLayout.cs
- TypeHelpers.cs
- KnownTypeAttribute.cs
- EditorPartChrome.cs
- RawStylusInput.cs
- Profiler.cs
- AutomationElementCollection.cs
- MouseOverProperty.cs
- TextEndOfLine.cs
- NativeRecognizer.cs
- XmlNode.cs
- BroadcastEventHelper.cs
- SystemPens.cs
- DisplayNameAttribute.cs
- StrongTypingException.cs
- InkCollectionBehavior.cs
- ColorIndependentAnimationStorage.cs
- TypedOperationInfo.cs
- DiagnosticEventProvider.cs
- VerticalConnector.xaml.cs
- InfiniteIntConverter.cs
- FormatterConverter.cs
- Quad.cs
- WorkflowIdleBehavior.cs
- SslStream.cs
- ValueProviderWrapper.cs
- WebAdminConfigurationHelper.cs
- AutoGeneratedFieldProperties.cs
- XamlWriter.cs
- CodeDomDecompiler.cs
- CounterCreationData.cs
- UInt64.cs
- TextFormatterHost.cs
- XmlQueryOutput.cs
- SqlException.cs
- StylusPointPropertyId.cs
- MenuItemBinding.cs
- CircleHotSpot.cs
- HwndHost.cs
- TextServicesContext.cs
- UIElementPropertyUndoUnit.cs
- QueryHandler.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- Hashtable.cs
- XmlCollation.cs
- WebServiceTypeData.cs
- CustomMenuItemCollection.cs
- ServerIdentity.cs
- DataGridCell.cs
- MethodMessage.cs
- PathSegment.cs
- WSSecureConversationDec2005.cs
- XPathMultyIterator.cs
- ResourceDisplayNameAttribute.cs
- UITypeEditors.cs
- BindingListCollectionView.cs
- HtmlImageAdapter.cs
- StateRuntime.cs
- AxParameterData.cs
- AccessibilityHelperForVista.cs
- ApplicationDirectoryMembershipCondition.cs
- Predicate.cs
- InputBinding.cs
- KernelTypeValidation.cs
- DataGridViewComboBoxCell.cs