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
- DotExpr.cs
- RtfControlWordInfo.cs
- IgnoreSection.cs
- UseAttributeSetsAction.cs
- XmlSchemaParticle.cs
- EntryIndex.cs
- CommandDevice.cs
- WindowsListBox.cs
- XmlSchemaSimpleContentExtension.cs
- NativeWindow.cs
- SafeProcessHandle.cs
- CachedBitmap.cs
- AssemblyCacheEntry.cs
- HistoryEventArgs.cs
- DataSourceView.cs
- UiaCoreApi.cs
- ArrayTypeMismatchException.cs
- DefaultAsyncDataDispatcher.cs
- XsdDuration.cs
- Privilege.cs
- _NtlmClient.cs
- IntranetCredentialPolicy.cs
- CatalogPart.cs
- printdlgexmarshaler.cs
- PopupEventArgs.cs
- MsmqHostedTransportConfiguration.cs
- HtmlInputText.cs
- DbExpressionVisitor.cs
- ApplicationException.cs
- PropertyValidationContext.cs
- TdsEnums.cs
- NextPreviousPagerField.cs
- SafeMarshalContext.cs
- CodeTypeConstructor.cs
- DefaultValueMapping.cs
- smtppermission.cs
- SqlVisitor.cs
- DomNameTable.cs
- Label.cs
- Rectangle.cs
- AnimationException.cs
- TemplatedMailWebEventProvider.cs
- TreeNodeEventArgs.cs
- ReadOnlyDataSourceView.cs
- SqlClientWrapperSmiStream.cs
- XPathDocumentBuilder.cs
- BitmapEffectDrawingContextWalker.cs
- HashStream.cs
- DataException.cs
- RolePrincipal.cs
- ResourceKey.cs
- ProfileProvider.cs
- CodeGroup.cs
- PeerApplicationLaunchInfo.cs
- RoutedPropertyChangedEventArgs.cs
- RequestStatusBarUpdateEventArgs.cs
- WebPartHeaderCloseVerb.cs
- WrappedIUnknown.cs
- ChannelRequirements.cs
- TdsParser.cs
- AssertUtility.cs
- XmlSchemaRedefine.cs
- IISUnsafeMethods.cs
- AncestorChangedEventArgs.cs
- DispatcherHookEventArgs.cs
- BoundField.cs
- XmlNullResolver.cs
- AsyncCodeActivity.cs
- KnowledgeBase.cs
- ParameterDataSourceExpression.cs
- IISUnsafeMethods.cs
- TraceSection.cs
- PriorityBindingExpression.cs
- TypeForwardedToAttribute.cs
- DeviceContext2.cs
- GestureRecognitionResult.cs
- ZoomPercentageConverter.cs
- SqlNodeTypeOperators.cs
- RequestCacheValidator.cs
- RequiredFieldValidator.cs
- NumericPagerField.cs
- SystemDiagnosticsSection.cs
- TableSectionStyle.cs
- XmlChoiceIdentifierAttribute.cs
- SelectionWordBreaker.cs
- ChannelServices.cs
- ContextStaticAttribute.cs
- HostingEnvironmentException.cs
- ParameterModifier.cs
- CapacityStreamGeometryContext.cs
- TextBoxView.cs
- TablePattern.cs
- _Semaphore.cs
- listviewsubitemcollectioneditor.cs
- WeakEventManager.cs
- AnnotationObservableCollection.cs
- hebrewshape.cs
- Control.cs
- ChannelManager.cs
- ActionItem.cs