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
- DebugInfoGenerator.cs
- GridEntry.cs
- StructureChangedEventArgs.cs
- CloudCollection.cs
- XmlStreamNodeWriter.cs
- LambdaCompiler.Generated.cs
- ObjectDataSourceStatusEventArgs.cs
- RelationshipFixer.cs
- FontSourceCollection.cs
- ControlPaint.cs
- Converter.cs
- QueryStringHandler.cs
- OutputCacheModule.cs
- ConstraintEnumerator.cs
- TcpClientSocketManager.cs
- Span.cs
- XPathNavigatorReader.cs
- RectangleGeometry.cs
- IncrementalReadDecoders.cs
- AutomationPropertyInfo.cs
- DictionaryItemsCollection.cs
- EnterpriseServicesHelper.cs
- DeploymentSection.cs
- DetailsViewDeletedEventArgs.cs
- GeometryModel3D.cs
- HtmlShim.cs
- DataGridViewTopLeftHeaderCell.cs
- SectionInformation.cs
- oledbmetadatacollectionnames.cs
- ToolStripDropDownButton.cs
- ColumnResizeAdorner.cs
- FastEncoder.cs
- Permission.cs
- dbenumerator.cs
- Int32RectConverter.cs
- safex509handles.cs
- IfJoinedCondition.cs
- XdrBuilder.cs
- ScrollBarAutomationPeer.cs
- Calendar.cs
- ComponentResourceKey.cs
- AssociationSetMetadata.cs
- SafeArrayTypeMismatchException.cs
- PropertyPathWorker.cs
- ClientConfigurationSystem.cs
- BoolExpressionVisitors.cs
- CodePageEncoding.cs
- IndentedTextWriter.cs
- CodeCatchClause.cs
- FlowLayout.cs
- oledbmetadatacollectionnames.cs
- HelloOperationCD1AsyncResult.cs
- DataServiceResponse.cs
- XmlSchemaAppInfo.cs
- MsmqAppDomainProtocolHandler.cs
- CannotUnloadAppDomainException.cs
- DecoderBestFitFallback.cs
- DataGridViewCellStyleConverter.cs
- JsonReaderDelegator.cs
- Win32Exception.cs
- DataTableMapping.cs
- FactoryId.cs
- BamlLocalizableResource.cs
- MeasurementDCInfo.cs
- SafeWaitHandle.cs
- WorkflowDefinitionContext.cs
- XmlNamespaceDeclarationsAttribute.cs
- safex509handles.cs
- RandomNumberGenerator.cs
- NavigatingCancelEventArgs.cs
- DataTemplateSelector.cs
- ObjectViewFactory.cs
- InputBinding.cs
- GacUtil.cs
- XmlExpressionDumper.cs
- StylusPointPropertyInfo.cs
- BooleanConverter.cs
- PerfCounterSection.cs
- OutputCacheSettings.cs
- mda.cs
- TimeSpanSecondsConverter.cs
- ServiceEndpointCollection.cs
- BrowserCapabilitiesCodeGenerator.cs
- CodeSubDirectoriesCollection.cs
- Screen.cs
- AvTraceDetails.cs
- ListMarkerSourceInfo.cs
- FrameworkElementAutomationPeer.cs
- BitmapImage.cs
- RealizationDrawingContextWalker.cs
- WebPartChrome.cs
- CodeArgumentReferenceExpression.cs
- DataException.cs
- XsltLoader.cs
- PageOutputColor.cs
- BufferBuilder.cs
- RuntimeConfigurationRecord.cs
- EntityDataSourceDesignerHelper.cs
- ToolStripSystemRenderer.cs
- SafeSystemMetrics.cs