Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- QilXmlReader.cs
- SqlWebEventProvider.cs
- OutputCacheSettings.cs
- CachedBitmap.cs
- MessageQueuePermissionEntryCollection.cs
- Primitive.cs
- QilReference.cs
- NullReferenceException.cs
- WebEventTraceProvider.cs
- Compiler.cs
- BaseUriHelper.cs
- AdornedElementPlaceholder.cs
- RedistVersionInfo.cs
- FileLogRecordHeader.cs
- CodeSpit.cs
- HtmlInputButton.cs
- CreateRefExpr.cs
- ListItemCollection.cs
- WebConfigurationManager.cs
- XamlSerializerUtil.cs
- SmtpException.cs
- FontStretches.cs
- BindingCollection.cs
- AnnotationHighlightLayer.cs
- SmiMetaDataProperty.cs
- XmlSignatureProperties.cs
- HWStack.cs
- EdmConstants.cs
- MailAddressCollection.cs
- CriticalHandle.cs
- WebResourceAttribute.cs
- SqlServer2KCompatibilityAnnotation.cs
- BufferModeSettings.cs
- EditorAttribute.cs
- RSAOAEPKeyExchangeDeformatter.cs
- SqlDependency.cs
- CallbackException.cs
- Rect.cs
- TypeResolver.cs
- ProfilePropertySettings.cs
- APCustomTypeDescriptor.cs
- OleDbEnumerator.cs
- ByeMessageApril2005.cs
- SqlBuilder.cs
- EventLogReader.cs
- DataGridCommandEventArgs.cs
- FontInfo.cs
- QueryableDataSourceHelper.cs
- ObjectPersistData.cs
- BinaryFormatterSinks.cs
- SafeSecurityHandles.cs
- DateTimeOffset.cs
- FixedPosition.cs
- BulletDecorator.cs
- ControlBindingsCollection.cs
- SpecularMaterial.cs
- FontNameEditor.cs
- QueryExpr.cs
- EmptyStringExpandableObjectConverter.cs
- Span.cs
- ObfuscateAssemblyAttribute.cs
- BitmapEffectRenderDataResource.cs
- StatusBar.cs
- DockPattern.cs
- XmlDocument.cs
- IndentedWriter.cs
- BaseInfoTable.cs
- MapPathBasedVirtualPathProvider.cs
- StylusPointCollection.cs
- HttpCapabilitiesBase.cs
- ConstrainedDataObject.cs
- QfeChecker.cs
- DataGridViewColumnCollectionDialog.cs
- WebScriptEnablingBehavior.cs
- FontSource.cs
- GetRecipientListRequest.cs
- XmlSchemaObjectTable.cs
- WSDualHttpSecurityMode.cs
- Int32EqualityComparer.cs
- ExpressionBindings.cs
- SqlGenericUtil.cs
- _LazyAsyncResult.cs
- SqlOuterApplyReducer.cs
- PriorityRange.cs
- EditorPart.cs
- StrongTypingException.cs
- CommandHelpers.cs
- DataGridViewColumnEventArgs.cs
- WebPartTransformer.cs
- TransportSecurityProtocolFactory.cs
- TextRangeAdaptor.cs
- SmtpClient.cs
- InfoCardRSAPKCS1SignatureDeformatter.cs
- ValueType.cs
- XPathNodePointer.cs
- HttpModulesSection.cs
- CopyCodeAction.cs
- ArraySortHelper.cs
- LinqDataSourceHelper.cs
- recordstatescratchpad.cs