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
- UnauthorizedWebPart.cs
- CommandID.cs
- SqlWebEventProvider.cs
- SafeLibraryHandle.cs
- ConstraintStruct.cs
- TdsParserHelperClasses.cs
- NativeMethods.cs
- CodeFieldReferenceExpression.cs
- ISAPIRuntime.cs
- DataGridTextBox.cs
- PartialCachingAttribute.cs
- log.cs
- SectionInput.cs
- XmlWriterDelegator.cs
- ListMarkerSourceInfo.cs
- SHA1Managed.cs
- HealthMonitoringSectionHelper.cs
- OracleColumn.cs
- UserNameSecurityTokenProvider.cs
- SqlCachedBuffer.cs
- XmlSchemaInfo.cs
- BitmapEffectDrawingContextState.cs
- Vector3DConverter.cs
- ScriptReferenceEventArgs.cs
- PathFigureCollectionConverter.cs
- AssertSection.cs
- EpmSyndicationContentSerializer.cs
- _AcceptOverlappedAsyncResult.cs
- PrintDialog.cs
- ContentPlaceHolder.cs
- ContractComponent.cs
- ClearTypeHintValidation.cs
- ChtmlCalendarAdapter.cs
- DataRecordObjectView.cs
- PermissionSet.cs
- TranslateTransform3D.cs
- TabItemWrapperAutomationPeer.cs
- DesignerDataSourceView.cs
- RsaKeyIdentifierClause.cs
- FontUnit.cs
- CodeNamespace.cs
- SerializationAttributes.cs
- XPathException.cs
- ToggleButton.cs
- ColumnMapVisitor.cs
- ComNativeDescriptor.cs
- PasswordBox.cs
- WindowsTab.cs
- PropVariant.cs
- TextTreeText.cs
- TypeViewSchema.cs
- UnsafeNativeMethods.cs
- CodeCatchClause.cs
- dsa.cs
- NumericUpDownAccelerationCollection.cs
- LocatorManager.cs
- AssemblyCollection.cs
- DES.cs
- CodeEventReferenceExpression.cs
- XmlSchemaFacet.cs
- ListItem.cs
- WindowsListViewGroupSubsetLink.cs
- TableItemPattern.cs
- AlternateViewCollection.cs
- TypefaceMetricsCache.cs
- ClipboardData.cs
- GlobalizationSection.cs
- SkipStoryboardToFill.cs
- XmlSchemaImporter.cs
- ConnectionConsumerAttribute.cs
- BitmapSourceSafeMILHandle.cs
- ErrorFormatter.cs
- MediaElement.cs
- CodeEventReferenceExpression.cs
- SmiEventSink_DeferedProcessing.cs
- ObjectDataSourceView.cs
- LostFocusEventManager.cs
- ServiceDescription.cs
- TypeElement.cs
- SqlLiftWhereClauses.cs
- SerializationException.cs
- TableHeaderCell.cs
- NullReferenceException.cs
- TCPListener.cs
- DataViewListener.cs
- FixedNode.cs
- TextBoxAutoCompleteSourceConverter.cs
- XmlSigningNodeWriter.cs
- ConfigXmlText.cs
- UniqueIdentifierService.cs
- EditorZoneBase.cs
- GridViewColumnHeader.cs
- CngKey.cs
- FigureHelper.cs
- OleDbPermission.cs
- Int32.cs
- HebrewCalendar.cs
- DoubleConverter.cs
- GridItemPattern.cs
- HelloOperation11AsyncResult.cs