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
- XmlTextReader.cs
- FixedTextSelectionProcessor.cs
- StyleCollection.cs
- TypeExtensions.cs
- SqlMethodTransformer.cs
- ExeConfigurationFileMap.cs
- x509store.cs
- IPipelineRuntime.cs
- PostBackOptions.cs
- ScriptingWebServicesSectionGroup.cs
- CategoriesDocumentFormatter.cs
- SuppressIldasmAttribute.cs
- SetIterators.cs
- Object.cs
- HebrewNumber.cs
- Parser.cs
- MasterPageBuildProvider.cs
- SpellerError.cs
- RuleElement.cs
- HttpStreamMessage.cs
- LinkUtilities.cs
- PrintController.cs
- AtomMaterializer.cs
- ProxyHelper.cs
- DateTimeValueSerializerContext.cs
- ISessionStateStore.cs
- EntityDataReader.cs
- RestHandler.cs
- DataTransferEventArgs.cs
- Expression.DebuggerProxy.cs
- DesignerListAdapter.cs
- IntegerCollectionEditor.cs
- MulticastNotSupportedException.cs
- FigureHelper.cs
- X509ChainPolicy.cs
- OdbcConnectionString.cs
- HtmlForm.cs
- ColorConvertedBitmap.cs
- RequestNavigateEventArgs.cs
- HttpConfigurationSystem.cs
- GroupPartitionExpr.cs
- Privilege.cs
- HandlerMappingMemo.cs
- Transform3DCollection.cs
- ApplicationManager.cs
- Tile.cs
- DataGridViewToolTip.cs
- Perspective.cs
- ObjectItemAttributeAssemblyLoader.cs
- ScrollPattern.cs
- PnrpPeerResolverElement.cs
- CodePageUtils.cs
- AssemblyAssociatedContentFileAttribute.cs
- RoleService.cs
- WebBaseEventKeyComparer.cs
- ResXBuildProvider.cs
- StackBuilderSink.cs
- ReversePositionQuery.cs
- StrokeCollectionDefaultValueFactory.cs
- CacheChildrenQuery.cs
- ToolStripItemClickedEventArgs.cs
- ConfigurationFileMap.cs
- MergablePropertyAttribute.cs
- LocatorBase.cs
- TrackBarRenderer.cs
- DBConnection.cs
- FileEnumerator.cs
- MasterPageParser.cs
- CodeBinaryOperatorExpression.cs
- SelectionItemProviderWrapper.cs
- MarkedHighlightComponent.cs
- ProvidersHelper.cs
- ExpandSegmentCollection.cs
- ContextQuery.cs
- GeneralTransform3DGroup.cs
- WpfXamlLoader.cs
- SymbolResolver.cs
- DataGridTemplateColumn.cs
- InputElement.cs
- OracleParameterBinding.cs
- MobileListItemCollection.cs
- Label.cs
- RegexMatch.cs
- HtmlTable.cs
- ReferenceAssemblyAttribute.cs
- SqlProfileProvider.cs
- PropertyToken.cs
- AsyncSerializedWorker.cs
- XpsSerializationException.cs
- PropertyChangedEventArgs.cs
- Pair.cs
- XmlSchemaRedefine.cs
- ViewStateException.cs
- PostBackOptions.cs
- DeflateEmulationStream.cs
- PeerInputChannel.cs
- DataSourceHelper.cs
- StringCollection.cs
- ToolStripSplitButton.cs
- DataTablePropertyDescriptor.cs