Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- EditorBrowsableAttribute.cs
- DataListDesigner.cs
- RelationalExpressions.cs
- Control.cs
- UserControlAutomationPeer.cs
- SurrogateEncoder.cs
- RC2CryptoServiceProvider.cs
- Root.cs
- Vector3DCollection.cs
- FacetValues.cs
- XmlSerializerNamespaces.cs
- CodeAccessSecurityEngine.cs
- OdbcReferenceCollection.cs
- WebScriptServiceHost.cs
- HtmlInputHidden.cs
- MetabaseReader.cs
- PanelDesigner.cs
- DefaultWorkflowTransactionService.cs
- HttpProfileBase.cs
- PersonalizableAttribute.cs
- Operand.cs
- ProjectedWrapper.cs
- PEFileEvidenceFactory.cs
- FillRuleValidation.cs
- HttpServerVarsCollection.cs
- InputMethodStateTypeInfo.cs
- GenericsInstances.cs
- VSWCFServiceContractGenerator.cs
- EntityTypeBase.cs
- ColorConverter.cs
- LocationSectionRecord.cs
- OdbcRowUpdatingEvent.cs
- WinOEToolBoxItem.cs
- TransactionInterop.cs
- ColorTransform.cs
- RoutedEventConverter.cs
- ExecutionScope.cs
- NameTable.cs
- Dictionary.cs
- WebControlAdapter.cs
- TrustDriver.cs
- ToolZone.cs
- panel.cs
- XmlAttributeProperties.cs
- DocumentGrid.cs
- PolyBezierSegment.cs
- HttpModuleActionCollection.cs
- DataGridToolTip.cs
- MenuItem.cs
- AttributeAction.cs
- OdbcDataReader.cs
- Substitution.cs
- ButtonBaseAdapter.cs
- EncoderFallback.cs
- ZoomPercentageConverter.cs
- EllipseGeometry.cs
- FillBehavior.cs
- VersionedStreamOwner.cs
- CommandDevice.cs
- StaticFileHandler.cs
- SizeAnimationClockResource.cs
- GlyphManager.cs
- PermissionSet.cs
- ProcessManager.cs
- PropertyDescriptorGridEntry.cs
- TextContainerChangeEventArgs.cs
- ControlParameter.cs
- DataExpression.cs
- ServiceDescriptionReflector.cs
- OwnerDrawPropertyBag.cs
- ProviderManager.cs
- NativeCppClassAttribute.cs
- CellParagraph.cs
- SqlDataSourceFilteringEventArgs.cs
- ColumnWidthChangedEvent.cs
- Formatter.cs
- UIPropertyMetadata.cs
- PersistChildrenAttribute.cs
- TagPrefixInfo.cs
- TextPattern.cs
- IFlowDocumentViewer.cs
- DetailsViewInsertedEventArgs.cs
- ProcessModelSection.cs
- PointHitTestParameters.cs
- BoundColumn.cs
- OdbcStatementHandle.cs
- Behavior.cs
- CharacterShapingProperties.cs
- LinkDesigner.cs
- DataGridViewBand.cs
- ProxyManager.cs
- ResourceAssociationSetEnd.cs
- EventLogSession.cs
- XmlValidatingReaderImpl.cs
- CachedTypeface.cs
- DateTimeSerializationSection.cs
- NamespaceInfo.cs
- ObjectRef.cs
- NameObjectCollectionBase.cs
- WindowsStatusBar.cs