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
- DataRowIndexBuffer.cs
- DataServiceQueryProvider.cs
- MeasureItemEvent.cs
- TextDecorationCollection.cs
- HtmlWindow.cs
- SharedDp.cs
- VisualTreeHelper.cs
- CultureInfoConverter.cs
- TranslateTransform.cs
- Camera.cs
- ProxyWebPartManager.cs
- Directory.cs
- TypedTableHandler.cs
- VirtualPath.cs
- PropertyGridEditorPart.cs
- DbgUtil.cs
- GatewayIPAddressInformationCollection.cs
- DateTimeParse.cs
- SessionStateModule.cs
- DiagnosticsConfigurationHandler.cs
- Models.cs
- JsonSerializer.cs
- RelationshipEntry.cs
- ComponentManagerBroker.cs
- SimpleRecyclingCache.cs
- TargetPerspective.cs
- StickyNote.cs
- HotSpot.cs
- RadioButtonList.cs
- ExceptQueryOperator.cs
- XslCompiledTransform.cs
- MissingMemberException.cs
- CompilerParameters.cs
- WindowsEditBox.cs
- PreparingEnlistment.cs
- ContextMenu.cs
- ServiceModelInstallComponent.cs
- StringTraceRecord.cs
- DataServiceKeyAttribute.cs
- TransformedBitmap.cs
- FrameworkPropertyMetadata.cs
- Base64Stream.cs
- Matrix.cs
- LOSFormatter.cs
- TypefaceMetricsCache.cs
- DesignerOptionService.cs
- HeaderCollection.cs
- WS2007HttpBindingElement.cs
- SweepDirectionValidation.cs
- IndexedString.cs
- SqlTypeSystemProvider.cs
- ListViewItemEventArgs.cs
- TextBoxAutomationPeer.cs
- ProgramNode.cs
- Processor.cs
- nulltextcontainer.cs
- Scheduler.cs
- X509WindowsSecurityToken.cs
- BindToObject.cs
- TextTreeTextBlock.cs
- SchemaNames.cs
- Accessible.cs
- FormattedTextSymbols.cs
- keycontainerpermission.cs
- BorderGapMaskConverter.cs
- CompilationRelaxations.cs
- WindowsGraphicsCacheManager.cs
- LogLogRecordEnumerator.cs
- Metafile.cs
- ConfigurationSection.cs
- TaiwanCalendar.cs
- KnownColorTable.cs
- PointCollection.cs
- BehaviorService.cs
- DataFieldConverter.cs
- CodeRemoveEventStatement.cs
- PropertyMapper.cs
- OutputCacheProfile.cs
- LinearQuaternionKeyFrame.cs
- DataGridPagerStyle.cs
- CodeGenerator.cs
- TextDecorationCollection.cs
- WsatConfiguration.cs
- TextSpanModifier.cs
- XdrBuilder.cs
- SystemTcpStatistics.cs
- recordstate.cs
- IncrementalHitTester.cs
- EventBuilder.cs
- MasterPageBuildProvider.cs
- Registry.cs
- SecurityTokenParameters.cs
- WebPartZoneCollection.cs
- SchemaAttDef.cs
- LogAppendAsyncResult.cs
- MouseWheelEventArgs.cs
- ToolStripOverflowButton.cs
- TextFragmentEngine.cs
- AutomationPatternInfo.cs
- TaskFormBase.cs