Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Threading / SynchronizationLockException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- WindowsFormsHostAutomationPeer.cs
- SourceElementsCollection.cs
- DBProviderConfigurationHandler.cs
- ComponentResourceKeyConverter.cs
- HashSet.cs
- TextEditorLists.cs
- AuthStoreRoleProvider.cs
- MruCache.cs
- SequentialUshortCollection.cs
- CFStream.cs
- HtmlControlPersistable.cs
- GroupQuery.cs
- returneventsaver.cs
- EmptyWithCancelationCheckWorkItem.cs
- WebPartTransformerAttribute.cs
- XmlWriterTraceListener.cs
- SqlInternalConnection.cs
- GridViewColumnHeader.cs
- DockProviderWrapper.cs
- ConstNode.cs
- FrameDimension.cs
- IndentTextWriter.cs
- LogPolicy.cs
- Viewport2DVisual3D.cs
- UrlMappingsModule.cs
- FormsAuthenticationConfiguration.cs
- HtmlInputCheckBox.cs
- PseudoWebRequest.cs
- ListChangedEventArgs.cs
- ListViewItemMouseHoverEvent.cs
- AmbientProperties.cs
- RegexCaptureCollection.cs
- TimeIntervalCollection.cs
- FastPropertyAccessor.cs
- SiteMapPath.cs
- InputElement.cs
- AuthorizationRuleCollection.cs
- FixedSOMTextRun.cs
- ping.cs
- Rotation3D.cs
- DataSourceNameHandler.cs
- DateTimePicker.cs
- BaseDataBoundControl.cs
- DataServiceException.cs
- thaishape.cs
- DES.cs
- EDesignUtil.cs
- Task.cs
- PersistChildrenAttribute.cs
- Int64Converter.cs
- ServiceOperationDetailViewControl.cs
- ExpressionPrinter.cs
- WinCategoryAttribute.cs
- UnsafeNativeMethodsMilCoreApi.cs
- LocatorPart.cs
- ResourceProviderFactory.cs
- TypeValidationEventArgs.cs
- SQLSingleStorage.cs
- DataGridHelper.cs
- ObjectQueryProvider.cs
- ExtensibleClassFactory.cs
- EnumValidator.cs
- ClientData.cs
- ToolStripItem.cs
- MenuItemCollection.cs
- thaishape.cs
- ProcessDesigner.cs
- SvcMapFileLoader.cs
- MenuItemBinding.cs
- RunWorkerCompletedEventArgs.cs
- CqlWriter.cs
- WindowProviderWrapper.cs
- OdbcEnvironmentHandle.cs
- ChangeProcessor.cs
- TabletDeviceInfo.cs
- RuntimeIdentifierPropertyAttribute.cs
- ToolStripPanel.cs
- RSAOAEPKeyExchangeDeformatter.cs
- FocusManager.cs
- EncodingTable.cs
- ArgumentException.cs
- LogicalTreeHelper.cs
- ConfigurationPermission.cs
- ListViewHitTestInfo.cs
- Attributes.cs
- CustomExpressionEventArgs.cs
- ActiveXHelper.cs
- GlobalizationSection.cs
- FlowDocumentReaderAutomationPeer.cs
- UnaryExpression.cs
- EventlogProvider.cs
- PolyQuadraticBezierSegment.cs
- StyleXamlTreeBuilder.cs
- NullRuntimeConfig.cs
- ConfigurationStrings.cs
- XamlPathDataSerializer.cs
- HasActivatableWorkflowEvent.cs
- DesignTimeXamlWriter.cs
- TranslateTransform.cs
- XmlSiteMapProvider.cs