Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / Threading / SynchronizationLockException.cs / 1 / SynchronizationLockException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================================== ** ** Class: SynchronizationLockException ** ** ** Purpose: Wait(), Notify() or NotifyAll() was called from an unsynchronized ** block of code. ** ** =============================================================================*/ namespace System.Threading { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class SynchronizationLockException : SystemException { public SynchronizationLockException() : base(Environment.GetResourceString("Arg_SynchronizationLockException")) { SetErrorCode(__HResults.COR_E_SYNCHRONIZATIONLOCK); } public SynchronizationLockException(String message) : base(message) { SetErrorCode(__HResults.COR_E_SYNCHRONIZATIONLOCK); } public SynchronizationLockException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_SYNCHRONIZATIONLOCK); } protected SynchronizationLockException(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: SynchronizationLockException ** ** ** Purpose: Wait(), Notify() or NotifyAll() was called from an unsynchronized ** block of code. ** ** =============================================================================*/ namespace System.Threading { using System; using System.Runtime.Serialization; [System.Runtime.InteropServices.ComVisible(true)] [Serializable()] public class SynchronizationLockException : SystemException { public SynchronizationLockException() : base(Environment.GetResourceString("Arg_SynchronizationLockException")) { SetErrorCode(__HResults.COR_E_SYNCHRONIZATIONLOCK); } public SynchronizationLockException(String message) : base(message) { SetErrorCode(__HResults.COR_E_SYNCHRONIZATIONLOCK); } public SynchronizationLockException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_SYNCHRONIZATIONLOCK); } protected SynchronizationLockException(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
- DSGeneratorProblem.cs
- CodeDirectiveCollection.cs
- CancellationTokenRegistration.cs
- HtmlSelect.cs
- XmlSchemaGroup.cs
- PerfCounterSection.cs
- SimpleRecyclingCache.cs
- FileUtil.cs
- EventRoute.cs
- TimeSpanConverter.cs
- WinFormsComponentEditor.cs
- Delegate.cs
- TextSpan.cs
- CachedFontFamily.cs
- OleDbStruct.cs
- XmlTextReaderImpl.cs
- TagPrefixCollection.cs
- StylusEditingBehavior.cs
- Cursor.cs
- InteropBitmapSource.cs
- ListBox.cs
- DesignerDataTable.cs
- ObjectViewEntityCollectionData.cs
- GenericEnumerator.cs
- ConnectionManager.cs
- WorkflowInspectionServices.cs
- NonSerializedAttribute.cs
- HtmlLabelAdapter.cs
- Component.cs
- SoapSchemaMember.cs
- SecurityTokenParameters.cs
- LogArchiveSnapshot.cs
- GCHandleCookieTable.cs
- MarginsConverter.cs
- LoadedEvent.cs
- MultiSelectRootGridEntry.cs
- CheckBoxField.cs
- BooleanExpr.cs
- ListView.cs
- TextRunCacheImp.cs
- RenderData.cs
- URL.cs
- CodeTypeMemberCollection.cs
- LinqDataSourceInsertEventArgs.cs
- InvalidEnumArgumentException.cs
- TypeRestriction.cs
- InheritanceRules.cs
- CurrencyManager.cs
- UserControlParser.cs
- DescriptionAttribute.cs
- LinqDataSourceSelectEventArgs.cs
- PointLight.cs
- shaper.cs
- ResXBuildProvider.cs
- OutKeywords.cs
- UriTemplateMatch.cs
- FixedHighlight.cs
- IUnknownConstantAttribute.cs
- PolicyLevel.cs
- MD5.cs
- PaperSize.cs
- WebPartConnectionsCancelVerb.cs
- ProcessRequestArgs.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- Utilities.cs
- mda.cs
- BitmapSource.cs
- TreeNode.cs
- ApplicationActivator.cs
- TabRenderer.cs
- RegexCapture.cs
- DescendentsWalkerBase.cs
- StrokeSerializer.cs
- IDReferencePropertyAttribute.cs
- UnsafeNativeMethods.cs
- DocumentEventArgs.cs
- DependencyPropertyChangedEventArgs.cs
- ObfuscationAttribute.cs
- Oid.cs
- OdbcError.cs
- ZoneMembershipCondition.cs
- ExpressionValueEditor.cs
- WebHeaderCollection.cs
- SymbolEqualComparer.cs
- PagedDataSource.cs
- MultiBinding.cs
- ComplexBindingPropertiesAttribute.cs
- DocumentGrid.cs
- Internal.cs
- TdsParserStateObject.cs
- UIElementIsland.cs
- DbProviderManifest.cs
- WinInet.cs
- ImageSourceTypeConverter.cs
- ComponentChangedEvent.cs
- RichTextBoxAutomationPeer.cs
- EntryPointNotFoundException.cs
- MatrixAnimationUsingPath.cs
- TransformValueSerializer.cs
- PrtCap_Reader.cs