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
- AuthenticationManager.cs
- xmlformatgeneratorstatics.cs
- SimpleType.cs
- DataControlImageButton.cs
- CellCreator.cs
- EdmFunctionAttribute.cs
- Transform3DGroup.cs
- codemethodreferenceexpression.cs
- SafeHandle.cs
- Formatter.cs
- ComplexPropertyEntry.cs
- PointAnimationBase.cs
- MultitargetingHelpers.cs
- CustomBinding.cs
- XslTransform.cs
- ObjectStateManager.cs
- HtmlPageAdapter.cs
- ListViewContainer.cs
- UiaCoreApi.cs
- SchemaImporterExtensionsSection.cs
- __TransparentProxy.cs
- DecimalConstantAttribute.cs
- PinProtectionHelper.cs
- NavigatorOutput.cs
- BitmapCodecInfoInternal.cs
- SimpleWebHandlerParser.cs
- HtmlListAdapter.cs
- Context.cs
- SystemUnicastIPAddressInformation.cs
- GridViewRow.cs
- SamlAudienceRestrictionCondition.cs
- ConnectionStringsExpressionBuilder.cs
- ToolStripContainer.cs
- WebPartTransformer.cs
- WebPartConnectionsEventArgs.cs
- Wildcard.cs
- DesignerTransaction.cs
- CompiledIdentityConstraint.cs
- ZoneIdentityPermission.cs
- WebPartTransformer.cs
- DesignerActionItemCollection.cs
- ConstrainedDataObject.cs
- ToolStripRenderEventArgs.cs
- ProfileInfo.cs
- LogWriteRestartAreaAsyncResult.cs
- ImageListStreamer.cs
- CommandValueSerializer.cs
- X509CertificateChain.cs
- HttpCachePolicy.cs
- ClientType.cs
- TemplateParser.cs
- XmlTypeMapping.cs
- FormsAuthenticationUser.cs
- XsltSettings.cs
- SequentialWorkflowRootDesigner.cs
- DiagnosticTraceSource.cs
- WorkflowViewStateService.cs
- EntityDataSourceSelectedEventArgs.cs
- SchemaCollectionCompiler.cs
- ButtonPopupAdapter.cs
- MembershipPasswordException.cs
- SurrogateSelector.cs
- ConfigsHelper.cs
- DeclarativeConditionsCollection.cs
- ShapeTypeface.cs
- InvalidCommandTreeException.cs
- FlowPosition.cs
- RawStylusInput.cs
- DebuggerAttributes.cs
- MimeTypePropertyAttribute.cs
- ListDictionaryInternal.cs
- ToolStripItemRenderEventArgs.cs
- ExpressionVisitor.cs
- BindingList.cs
- UInt32.cs
- StateRuntime.cs
- UnicastIPAddressInformationCollection.cs
- ParameterModifier.cs
- SiteMembershipCondition.cs
- DependencyObjectCodeDomSerializer.cs
- Misc.cs
- HTTPRemotingHandler.cs
- CodeTypeDelegate.cs
- XsdSchemaFileEditor.cs
- RequestUriProcessor.cs
- RelatedPropertyManager.cs
- BuilderElements.cs
- RangeValidator.cs
- ListDataHelper.cs
- Brushes.cs
- DataGridViewCell.cs
- Panel.cs
- VirtualPath.cs
- SQLGuidStorage.cs
- EntityCollection.cs
- RemotingException.cs
- SelectedDatesCollection.cs
- CompositeCollection.cs
- UnsafeNativeMethods.cs
- PointHitTestParameters.cs