Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- BaseComponentEditor.cs
- Thumb.cs
- AtomParser.cs
- StringCollection.cs
- ListenerElementsCollection.cs
- InputLanguage.cs
- bindurihelper.cs
- MenuRendererClassic.cs
- StateMachineHelpers.cs
- Popup.cs
- FieldBuilder.cs
- TemplateNameScope.cs
- X509CertificateCollection.cs
- ItemChangedEventArgs.cs
- TextChangedEventArgs.cs
- DateTimeFormatInfo.cs
- XDeferredAxisSource.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- HttpCacheVaryByContentEncodings.cs
- Compilation.cs
- RectAnimationBase.cs
- DropTarget.cs
- ElementUtil.cs
- GridViewAutoFormat.cs
- LabelDesigner.cs
- FieldAccessException.cs
- TransformConverter.cs
- OracleRowUpdatingEventArgs.cs
- FilterQueryOptionExpression.cs
- VirtualPathUtility.cs
- UnsafeNativeMethods.cs
- DefaultEvaluationContext.cs
- DoubleLink.cs
- _ContextAwareResult.cs
- RotateTransform.cs
- ColumnCollection.cs
- WorkflowTraceTransfer.cs
- SpoolingTaskBase.cs
- HtmlFormWrapper.cs
- MachineKeyConverter.cs
- SiteMapNode.cs
- ConfigXmlText.cs
- DeferredReference.cs
- Viewport3DVisual.cs
- ConstructorArgumentAttribute.cs
- AppSettingsExpressionBuilder.cs
- FileNotFoundException.cs
- VirtualizingStackPanel.cs
- remotingproxy.cs
- SpeechRecognitionEngine.cs
- TypeListConverter.cs
- HttpPostedFileBase.cs
- FrameSecurityDescriptor.cs
- TextSearch.cs
- GenericTypeParameterBuilder.cs
- DataGridViewRowDividerDoubleClickEventArgs.cs
- ExtendedPropertyCollection.cs
- DataBindingHandlerAttribute.cs
- BuildProviderCollection.cs
- DataServiceHostFactory.cs
- ResolveNameEventArgs.cs
- DataGridTextBoxColumn.cs
- LabelLiteral.cs
- LicenseProviderAttribute.cs
- Buffer.cs
- HostTimeoutsElement.cs
- Pen.cs
- ExtendedProtectionPolicy.cs
- ReflectTypeDescriptionProvider.cs
- NavigationProgressEventArgs.cs
- CodeMemberMethod.cs
- SqlParameterCollection.cs
- ExclusiveCanonicalizationTransform.cs
- EdmType.cs
- OleDbDataReader.cs
- EntityDesignerDataSourceView.cs
- HistoryEventArgs.cs
- SchemeSettingElementCollection.cs
- Pens.cs
- RTLAwareMessageBox.cs
- BuilderElements.cs
- AssertFilter.cs
- UIElement.cs
- CallbackValidator.cs
- WindowsStatic.cs
- Rect3DValueSerializer.cs
- SharedPersonalizationStateInfo.cs
- CompositeFontParser.cs
- Vector3DKeyFrameCollection.cs
- SR.cs
- EdmFunctionAttribute.cs
- CalendarDateChangedEventArgs.cs
- EntityCollection.cs
- CancelAsyncOperationRequest.cs
- Vector3DCollection.cs
- AutoResetEvent.cs
- ToolStripDropDown.cs
- EntityAdapter.cs
- ValidatingReaderNodeData.cs
- EntityKeyElement.cs