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
- StreamHelper.cs
- BindingSourceDesigner.cs
- Roles.cs
- CalendarDateChangedEventArgs.cs
- CodeDirectiveCollection.cs
- Calendar.cs
- DesignerListAdapter.cs
- ControlBuilder.cs
- WebPartConnectionCollection.cs
- Helper.cs
- ManagementOptions.cs
- RSAOAEPKeyExchangeDeformatter.cs
- ButtonPopupAdapter.cs
- StackBuilderSink.cs
- CommonObjectSecurity.cs
- ExitEventArgs.cs
- TextDecorationLocationValidation.cs
- XmlRawWriterWrapper.cs
- MailAddressCollection.cs
- AutoGeneratedFieldProperties.cs
- FixedSOMTableCell.cs
- QueryPageSettingsEventArgs.cs
- MaskInputRejectedEventArgs.cs
- ThreadAbortException.cs
- CommandDevice.cs
- HttpModuleAction.cs
- TagPrefixAttribute.cs
- Hyperlink.cs
- JapaneseCalendar.cs
- CallContext.cs
- FormDesigner.cs
- XmlBuffer.cs
- AsyncOperationManager.cs
- ThreadInterruptedException.cs
- XPathBinder.cs
- Selector.cs
- UiaCoreTypesApi.cs
- WindowsGraphicsCacheManager.cs
- IMembershipProvider.cs
- DataTableNewRowEvent.cs
- AssemblyResolver.cs
- XPathArrayIterator.cs
- DataTableReaderListener.cs
- AutoGeneratedField.cs
- XmlDictionaryReader.cs
- DiscoveryDocumentSearchPattern.cs
- DataPointer.cs
- TemplateBuilder.cs
- ClockController.cs
- FontStretches.cs
- ExecutionScope.cs
- HandleCollector.cs
- ProxyGenerator.cs
- AsymmetricSignatureFormatter.cs
- DataServiceHostFactory.cs
- CollectionViewGroup.cs
- HierarchicalDataSourceControl.cs
- QuaternionAnimationBase.cs
- ReliableSessionElement.cs
- itemelement.cs
- TokenBasedSetEnumerator.cs
- FigureParaClient.cs
- log.cs
- FaultHandlingFilter.cs
- TextTreeInsertUndoUnit.cs
- ExpressionNormalizer.cs
- AssemblyResourceLoader.cs
- XmlTextWriter.cs
- BitConverter.cs
- ProcessMessagesAsyncResult.cs
- XmlNamespaceManager.cs
- SafeCryptoHandles.cs
- ConfigXmlDocument.cs
- OleDbMetaDataFactory.cs
- ParentUndoUnit.cs
- ChannelSinkStacks.cs
- RangeBase.cs
- Debugger.cs
- MessagePropertyDescriptionCollection.cs
- ActivityMarkupSerializationProvider.cs
- FamilyMapCollection.cs
- ByteViewer.cs
- counter.cs
- SecurityDescriptor.cs
- ToolStripSplitButton.cs
- AsyncCompletedEventArgs.cs
- VersionedStreamOwner.cs
- ExpanderAutomationPeer.cs
- DataGridTableCollection.cs
- MailFileEditor.cs
- GridItemPattern.cs
- EventMemberCodeDomSerializer.cs
- OleDbMetaDataFactory.cs
- BackStopAuthenticationModule.cs
- UIHelper.cs
- XmlDataLoader.cs
- TextBoxBase.cs
- Version.cs
- ProgressBar.cs
- LinkClickEvent.cs