Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- RegexCapture.cs
- DbDeleteCommandTree.cs
- PassportAuthenticationEventArgs.cs
- X509UI.cs
- GenericWebPart.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- BackStopAuthenticationModule.cs
- Int64AnimationUsingKeyFrames.cs
- Span.cs
- XmlAttributeCollection.cs
- FixedTextView.cs
- CommonRemoteMemoryBlock.cs
- DataGridViewCellConverter.cs
- XmlSchemaAnnotation.cs
- SBCSCodePageEncoding.cs
- LineSegment.cs
- RC2.cs
- XmlSchemaImporter.cs
- AssertSection.cs
- Base64Encoder.cs
- DynamicControlParameter.cs
- DataGridViewMethods.cs
- SoapSchemaMember.cs
- _SingleItemRequestCache.cs
- Pen.cs
- ClientRoleProvider.cs
- SchemaImporterExtensionElement.cs
- XmlArrayAttribute.cs
- DataServiceExpressionVisitor.cs
- DummyDataSource.cs
- IriParsingElement.cs
- WaveHeader.cs
- ManualResetEvent.cs
- ResXResourceReader.cs
- XmlLoader.cs
- EventRouteFactory.cs
- Trigger.cs
- ToolstripProfessionalRenderer.cs
- SerializationFieldInfo.cs
- PasswordRecovery.cs
- LiteralDesigner.cs
- WindowsSysHeader.cs
- PathSegmentCollection.cs
- FileDialog_Vista_Interop.cs
- SQLInt16.cs
- HttpStreamMessage.cs
- SqlGatherProducedAliases.cs
- Update.cs
- WebPartTransformerCollection.cs
- SessionViewState.cs
- ObjectStorage.cs
- SpeechEvent.cs
- SmiEventSink_Default.cs
- MatrixCamera.cs
- XmlLoader.cs
- SystemSounds.cs
- TranslateTransform.cs
- FacetChecker.cs
- HttpEncoder.cs
- SortQuery.cs
- InvokePattern.cs
- ContextStaticAttribute.cs
- CharConverter.cs
- MsmqHostedTransportManager.cs
- SharedDp.cs
- Cursors.cs
- XmlImplementation.cs
- OLEDB_Util.cs
- TextEditorThreadLocalStore.cs
- PrtCap_Builder.cs
- Calendar.cs
- GlobalItem.cs
- TableRow.cs
- Timer.cs
- CompilerWrapper.cs
- PropertyInformationCollection.cs
- NameScopePropertyAttribute.cs
- _NtlmClient.cs
- UriTemplateCompoundPathSegment.cs
- ConfigurationPermission.cs
- Rect3DValueSerializer.cs
- HwndHostAutomationPeer.cs
- ParamArrayAttribute.cs
- PassportIdentity.cs
- Page.cs
- ConfigXmlCDataSection.cs
- ValueConversionAttribute.cs
- SafeNativeMethods.cs
- EnumerableCollectionView.cs
- DataMember.cs
- XamlClipboardData.cs
- CodeDelegateCreateExpression.cs
- DesignerActionItemCollection.cs
- SqlInternalConnection.cs
- TableAutomationPeer.cs
- CodeGroup.cs
- ToolTipAutomationPeer.cs
- ZipIOExtraFieldPaddingElement.cs
- EmptyCollection.cs
- BypassElementCollection.cs