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
- XmlExtensionFunction.cs
- DBBindings.cs
- RepeatBehavior.cs
- LazyTextWriterCreator.cs
- SuppressMergeCheckAttribute.cs
- CqlParserHelpers.cs
- LoadWorkflowByInstanceKeyCommand.cs
- WebPartTracker.cs
- DataGridViewElement.cs
- Token.cs
- TitleStyle.cs
- RequestQueryParser.cs
- FrameworkContextData.cs
- ThousandthOfEmRealDoubles.cs
- WeakEventManager.cs
- SqlParameterCollection.cs
- RequestContextBase.cs
- ProcessInputEventArgs.cs
- RepeatBehavior.cs
- Bidi.cs
- ParseHttpDate.cs
- PageAsyncTaskManager.cs
- ObjectViewQueryResultData.cs
- ConnectionConsumerAttribute.cs
- MarginsConverter.cs
- Size.cs
- PageRouteHandler.cs
- Point.cs
- _ListenerRequestStream.cs
- Invariant.cs
- XmlTextEncoder.cs
- GradientStop.cs
- PasswordPropertyTextAttribute.cs
- UnmanagedMemoryStreamWrapper.cs
- MiniAssembly.cs
- ProgressChangedEventArgs.cs
- wmiprovider.cs
- Parameter.cs
- XPathCompileException.cs
- StyleBamlTreeBuilder.cs
- SelectionProcessor.cs
- RegexParser.cs
- XmlChoiceIdentifierAttribute.cs
- SplitContainer.cs
- DrawingAttributeSerializer.cs
- TrackingServices.cs
- ByteStreamMessageEncoderFactory.cs
- ColumnBinding.cs
- ResourceReferenceKeyNotFoundException.cs
- AspNetSynchronizationContext.cs
- securitycriticaldataClass.cs
- HitTestFilterBehavior.cs
- FileSystemWatcher.cs
- BatchParser.cs
- _NegoStream.cs
- Size.cs
- HttpCookiesSection.cs
- PointCollectionConverter.cs
- PersistenceContextEnlistment.cs
- ScriptingSectionGroup.cs
- ModuleBuilder.cs
- input.cs
- WebEvents.cs
- DiscoveryClientReferences.cs
- DataGridView.cs
- MergeLocalizationDirectives.cs
- ToolboxComponentsCreatingEventArgs.cs
- WebEventCodes.cs
- EnumerableRowCollectionExtensions.cs
- BinarySerializer.cs
- EntityRecordInfo.cs
- SqlVersion.cs
- FormsAuthentication.cs
- XamlTypeMapper.cs
- CfgArc.cs
- ListenerSessionConnection.cs
- ValidatedControlConverter.cs
- MetroSerializationManager.cs
- DbProviderConfigurationHandler.cs
- CheckPair.cs
- SignalGate.cs
- RtfControlWordInfo.cs
- Stackframe.cs
- DockProviderWrapper.cs
- Inflater.cs
- Stylus.cs
- DataView.cs
- FilteredXmlReader.cs
- InputScope.cs
- PointAnimation.cs
- SiteMapDataSourceView.cs
- ViewPort3D.cs
- Attachment.cs
- BindingMemberInfo.cs
- DragCompletedEventArgs.cs
- XmlUrlResolver.cs
- UnsafeNetInfoNativeMethods.cs
- SessionPageStateSection.cs
- PenContext.cs
- PeerCollaborationPermission.cs