Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ConfigurationElementCollection.cs
- Timer.cs
- SoapIgnoreAttribute.cs
- MetadataExporter.cs
- ImageAttributes.cs
- SelectiveScrollingGrid.cs
- WebResourceUtil.cs
- TraceFilter.cs
- XmlSchemaType.cs
- BookmarkManager.cs
- AnyReturnReader.cs
- DoubleCollectionConverter.cs
- ViewCellSlot.cs
- Utility.cs
- PropertyTab.cs
- FileRegion.cs
- FunctionQuery.cs
- RouteItem.cs
- SecUtil.cs
- StickyNote.cs
- PlacementWorkspace.cs
- DiscoveryMessageSequenceGenerator.cs
- BaseCodePageEncoding.cs
- ZoomingMessageFilter.cs
- Win32Native.cs
- Msmq3PoisonHandler.cs
- FtpWebResponse.cs
- PerspectiveCamera.cs
- DocumentPageTextView.cs
- Nullable.cs
- StorageComplexTypeMapping.cs
- RelatedCurrencyManager.cs
- TableStyle.cs
- XmlEncodedRawTextWriter.cs
- DbMetaDataCollectionNames.cs
- PrintPageEvent.cs
- ProvidePropertyAttribute.cs
- KeyNotFoundException.cs
- XmlSchemaAttributeGroupRef.cs
- CommandLibraryHelper.cs
- _LoggingObject.cs
- WindowsTooltip.cs
- ContainerVisual.cs
- CachedPathData.cs
- InstalledFontCollection.cs
- AsyncResult.cs
- IgnoreSectionHandler.cs
- XmlImplementation.cs
- XPathNodeHelper.cs
- ErrorEventArgs.cs
- Rotation3D.cs
- XmlCDATASection.cs
- NotifyInputEventArgs.cs
- WebPartDisplayMode.cs
- DataSourceCache.cs
- PrePostDescendentsWalker.cs
- BitmapEffectGroup.cs
- Window.cs
- ButtonRenderer.cs
- Double.cs
- DesignerAutoFormatStyle.cs
- MatchingStyle.cs
- DbConnectionClosed.cs
- MouseGestureValueSerializer.cs
- CodeObject.cs
- XmlMapping.cs
- CultureSpecificCharacterBufferRange.cs
- Membership.cs
- EntityTemplateUserControl.cs
- _PooledStream.cs
- ReadOnlyDictionary.cs
- WindowsListViewItem.cs
- SelectionChangedEventArgs.cs
- SQLSingle.cs
- BezierSegment.cs
- ControlParser.cs
- TemplatePartAttribute.cs
- StringSource.cs
- TextModifier.cs
- CompilationSection.cs
- FileFormatException.cs
- ExpressionPrefixAttribute.cs
- BaseDataBoundControl.cs
- BufferedGraphics.cs
- Light.cs
- Timeline.cs
- DataControlLinkButton.cs
- BindingListCollectionView.cs
- Geometry3D.cs
- ComboBox.cs
- XPathQueryGenerator.cs
- CodeRegionDirective.cs
- RegexNode.cs
- SystemInfo.cs
- GatewayIPAddressInformationCollection.cs
- CodeArrayIndexerExpression.cs
- RelationshipEndMember.cs
- UnionCodeGroup.cs
- ModuleElement.cs
- ConfigurationCollectionAttribute.cs