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 / 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
- WindowsGraphicsCacheManager.cs
- OracleParameterBinding.cs
- Assembly.cs
- StreamFormatter.cs
- XmlNavigatorStack.cs
- OracleConnection.cs
- ResourceCategoryAttribute.cs
- SubMenuStyle.cs
- Encoder.cs
- BamlMapTable.cs
- Quaternion.cs
- Int32Storage.cs
- IItemProperties.cs
- SchemaAttDef.cs
- OleDbPropertySetGuid.cs
- ToolStripSystemRenderer.cs
- Point3DValueSerializer.cs
- ToolStripTextBox.cs
- WebMessageEncoderFactory.cs
- ActivityDesignerAccessibleObject.cs
- InlineCollection.cs
- COM2PropertyDescriptor.cs
- UnmanagedHandle.cs
- RuntimeCompatibilityAttribute.cs
- CompositeDuplexBindingElementImporter.cs
- StreamResourceInfo.cs
- EncoderBestFitFallback.cs
- SafeWaitHandle.cs
- Transform3DGroup.cs
- LabelAutomationPeer.cs
- Ipv6Element.cs
- SessionPageStateSection.cs
- TextBox.cs
- ControlAdapter.cs
- BitmapCache.cs
- ColorTranslator.cs
- ObjectDataSourceWizardForm.cs
- XamlStream.cs
- BamlTreeNode.cs
- DbTransaction.cs
- PropertyPathWorker.cs
- ErrorTableItemStyle.cs
- TableChangeProcessor.cs
- ProxyManager.cs
- RepeatBehaviorConverter.cs
- CodeLabeledStatement.cs
- DataTableReader.cs
- XPathDescendantIterator.cs
- ParsedAttributeCollection.cs
- MessageHeaderInfoTraceRecord.cs
- DaylightTime.cs
- TextRunCacheImp.cs
- Schema.cs
- SqlComparer.cs
- ReturnType.cs
- DiscoveryServerProtocol.cs
- Deflater.cs
- Quaternion.cs
- ChannelRequirements.cs
- ResourceFallbackManager.cs
- ConstructorArgumentAttribute.cs
- SoapFaultCodes.cs
- BuildManagerHost.cs
- HttpHandlerActionCollection.cs
- StreamingContext.cs
- TextBoxBase.cs
- AnnotationDocumentPaginator.cs
- Int32AnimationBase.cs
- CachingHintValidation.cs
- Mutex.cs
- Stack.cs
- CacheEntry.cs
- DllNotFoundException.cs
- SoapHeaderException.cs
- NumericExpr.cs
- RenderingBiasValidation.cs
- InitializeCorrelation.cs
- ByteRangeDownloader.cs
- ThousandthOfEmRealDoubles.cs
- BrowserTree.cs
- Point4D.cs
- SecurityCriticalDataForSet.cs
- UntrustedRecipientException.cs
- EditorPart.cs
- BrushMappingModeValidation.cs
- ECDiffieHellmanCngPublicKey.cs
- TextEncodedRawTextWriter.cs
- TypeUtils.cs
- _LoggingObject.cs
- Lazy.cs
- NotifyInputEventArgs.cs
- SoapCodeExporter.cs
- DynamicValueConverter.cs
- GroupBox.cs
- ToolStrip.cs
- VirtualPathProvider.cs
- FrameworkContentElement.cs
- PrintEvent.cs
- SchemaInfo.cs
- BuildDependencySet.cs