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
- LostFocusEventManager.cs
- SynchronizationLockException.cs
- XPathAxisIterator.cs
- RecordsAffectedEventArgs.cs
- Int32CAMarshaler.cs
- OleDbReferenceCollection.cs
- TreeView.cs
- PropertyChangedEventManager.cs
- XomlCompilerError.cs
- ExpressionServices.cs
- NetworkInterface.cs
- XsltCompileContext.cs
- TableRowCollection.cs
- ConnectionManagementSection.cs
- X509CertificateValidator.cs
- CodeGeneratorOptions.cs
- RelatedImageListAttribute.cs
- ResXResourceWriter.cs
- mactripleDES.cs
- WinEventTracker.cs
- ContentTextAutomationPeer.cs
- PolicyStatement.cs
- _NegoState.cs
- PageThemeCodeDomTreeGenerator.cs
- CompiledRegexRunnerFactory.cs
- FullTextBreakpoint.cs
- ApplicationBuildProvider.cs
- ToolTip.cs
- ComPlusTypeLoader.cs
- TypeBuilder.cs
- DependsOnAttribute.cs
- LineServices.cs
- safesecurityhelperavalon.cs
- ProfessionalColorTable.cs
- ellipse.cs
- RemotingServices.cs
- MessagePartDescriptionCollection.cs
- CodeMemberProperty.cs
- CroppedBitmap.cs
- RootNamespaceAttribute.cs
- CodeGotoStatement.cs
- SspiNegotiationTokenProvider.cs
- SizeChangedInfo.cs
- StorageAssociationSetMapping.cs
- RowVisual.cs
- DoubleKeyFrameCollection.cs
- RootBrowserWindowAutomationPeer.cs
- WorkflowInstanceExtensionProvider.cs
- MobileControlPersister.cs
- ReliabilityContractAttribute.cs
- GcHandle.cs
- C14NUtil.cs
- FaultBookmark.cs
- ClientCultureInfo.cs
- ImageFormatConverter.cs
- ProgressChangedEventArgs.cs
- XmlSchemaProviderAttribute.cs
- SecurityContext.cs
- RtfControlWordInfo.cs
- ComponentChangingEvent.cs
- RequestResizeEvent.cs
- NotSupportedException.cs
- Parameter.cs
- SystemUnicastIPAddressInformation.cs
- NoClickablePointException.cs
- ZipIOExtraFieldZip64Element.cs
- SchemaImporterExtensionElementCollection.cs
- PagesSection.cs
- ResourceKey.cs
- CompressionTransform.cs
- Native.cs
- Visual3D.cs
- AppDomainAttributes.cs
- Schedule.cs
- NativeDirectoryServicesQueryAPIs.cs
- XLinq.cs
- TextDpi.cs
- Image.cs
- XmlDataDocument.cs
- EraserBehavior.cs
- XPathAncestorIterator.cs
- RbTree.cs
- OutputCacheSection.cs
- AssemblyBuilder.cs
- Thread.cs
- ConfigurationElement.cs
- SafeArrayTypeMismatchException.cs
- InheritanceRules.cs
- SecurityNegotiationException.cs
- __Filters.cs
- GroupJoinQueryOperator.cs
- DrawingContextWalker.cs
- AutoResetEvent.cs
- DbDataRecord.cs
- FormsIdentity.cs
- IRCollection.cs
- DateTimeValueSerializer.cs
- TextRangeAdaptor.cs
- UnmanagedBitmapWrapper.cs
- BezierSegment.cs