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
- StyleCollection.cs
- UIHelper.cs
- OpenFileDialog.cs
- TcpChannelHelper.cs
- FeatureManager.cs
- InternalPermissions.cs
- WindowsGraphicsCacheManager.cs
- DefaultWorkflowTransactionService.cs
- ErrorFormatterPage.cs
- AnimationStorage.cs
- DataGridRowsPresenter.cs
- TransformerTypeCollection.cs
- HtmlLink.cs
- CdpEqualityComparer.cs
- EdmToObjectNamespaceMap.cs
- MethodBuilderInstantiation.cs
- InvalidOleVariantTypeException.cs
- GB18030Encoding.cs
- MultiPropertyDescriptorGridEntry.cs
- SectionUpdates.cs
- _OSSOCK.cs
- FormsAuthenticationConfiguration.cs
- SqlExpander.cs
- StatusStrip.cs
- UserControlParser.cs
- RenderDataDrawingContext.cs
- Odbc32.cs
- ObjectDataSourceView.cs
- EventQueueState.cs
- cache.cs
- FormViewDeletedEventArgs.cs
- MonthChangedEventArgs.cs
- DesignerMetadata.cs
- FileVersion.cs
- HitTestFilterBehavior.cs
- Symbol.cs
- SmtpNetworkElement.cs
- XsdBuilder.cs
- ServiceContractGenerationContext.cs
- serverconfig.cs
- ObjectParameter.cs
- SqlErrorCollection.cs
- DataStreams.cs
- DesignerAttributeInfo.cs
- ActivationArguments.cs
- HtmlTitle.cs
- RegexWorker.cs
- FtpRequestCacheValidator.cs
- RegexCompilationInfo.cs
- OleDragDropHandler.cs
- SymbolType.cs
- WriterOutput.cs
- GridViewCommandEventArgs.cs
- DispatcherFrame.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- PeerEndPoint.cs
- ZoneButton.cs
- WebPartPersonalization.cs
- RightsManagementProvider.cs
- OutputCacheSettingsSection.cs
- iisPickupDirectory.cs
- EditorPartChrome.cs
- JsonByteArrayDataContract.cs
- RemoteCryptoSignHashRequest.cs
- MexHttpsBindingElement.cs
- TextRangeEditTables.cs
- DrawListViewColumnHeaderEventArgs.cs
- TextureBrush.cs
- MetadataItem.cs
- SoapSchemaMember.cs
- EntityCollection.cs
- ExeConfigurationFileMap.cs
- TextServicesDisplayAttribute.cs
- DoubleLinkListEnumerator.cs
- TypeConverterMarkupExtension.cs
- DescriptionAttribute.cs
- TemplateControlCodeDomTreeGenerator.cs
- cookiecollection.cs
- TextParentUndoUnit.cs
- Screen.cs
- WebEvents.cs
- AuthenticationSection.cs
- GlobalAllocSafeHandle.cs
- ImpersonateTokenRef.cs
- TabItem.cs
- XmlSchemaAnyAttribute.cs
- TextEditorTables.cs
- EnterpriseServicesHelper.cs
- DodSequenceMerge.cs
- ZipFileInfo.cs
- SingleStorage.cs
- SmtpLoginAuthenticationModule.cs
- Module.cs
- AssociationTypeEmitter.cs
- DefaultPerformanceCounters.cs
- SectionRecord.cs
- SqlDependency.cs
- GlyphCache.cs
- CacheHelper.cs
- SecurityTokenException.cs