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
- Binding.cs
- CustomErrorCollection.cs
- DbUpdateCommandTree.cs
- GenericIdentity.cs
- _NegotiateClient.cs
- RewritingPass.cs
- TcpTransportSecurityElement.cs
- SynchronizedInputProviderWrapper.cs
- NamedPipeActivation.cs
- ContentFileHelper.cs
- ErasingStroke.cs
- ExpandedWrapper.cs
- SoapInteropTypes.cs
- XmlToDatasetMap.cs
- Point3DValueSerializer.cs
- LicenseProviderAttribute.cs
- SystemWebCachingSectionGroup.cs
- EraserBehavior.cs
- AnnouncementEndpointElement.cs
- DataDocumentXPathNavigator.cs
- WsrmFault.cs
- SerializerDescriptor.cs
- FlowDocument.cs
- ModuleBuilderData.cs
- DataServiceContext.cs
- PerformanceCounterCategory.cs
- TdsParserStateObject.cs
- GridViewDeletedEventArgs.cs
- ComplexBindingPropertiesAttribute.cs
- MatrixKeyFrameCollection.cs
- XmlRootAttribute.cs
- CmsUtils.cs
- MetaColumn.cs
- DynamicILGenerator.cs
- TextRangeEditTables.cs
- LayoutUtils.cs
- ArgumentNullException.cs
- AsyncOperation.cs
- DataGridViewCellStyle.cs
- NonClientArea.cs
- ObjectView.cs
- ImageMapEventArgs.cs
- RsaKeyIdentifierClause.cs
- ToolStripSettings.cs
- RadioButtonPopupAdapter.cs
- UniformGrid.cs
- dbenumerator.cs
- MonthChangedEventArgs.cs
- TextBox.cs
- DisableDpiAwarenessAttribute.cs
- FixedSOMTableCell.cs
- DataGridViewButtonCell.cs
- UserControl.cs
- NodeLabelEditEvent.cs
- CodeMemberProperty.cs
- FtpCachePolicyElement.cs
- ServerValidateEventArgs.cs
- WeakReference.cs
- WizardStepBase.cs
- Timer.cs
- BodyGlyph.cs
- SessionStateItemCollection.cs
- DecimalConverter.cs
- DataBindingExpressionBuilder.cs
- Publisher.cs
- CompensateDesigner.cs
- AppSettingsExpressionBuilder.cs
- WebPartExportVerb.cs
- FeatureManager.cs
- RemoteWebConfigurationHost.cs
- WCFModelStrings.Designer.cs
- PageScaling.cs
- WorkflowRuntime.cs
- BindingUtils.cs
- CallbackValidatorAttribute.cs
- Random.cs
- DragStartedEventArgs.cs
- COMException.cs
- BCryptSafeHandles.cs
- RestHandlerFactory.cs
- WebPartVerbCollection.cs
- KnownColorTable.cs
- TitleStyle.cs
- ValidationVisibilityAttribute.cs
- DataGridTablesFactory.cs
- FixedSOMPage.cs
- WmlValidationSummaryAdapter.cs
- HttpsTransportBindingElement.cs
- IisTraceListener.cs
- UpdatePanelTrigger.cs
- DbFunctionCommandTree.cs
- PresentationSource.cs
- NumberAction.cs
- ObjectNotFoundException.cs
- FixUp.cs
- SerializationSectionGroup.cs
- AutomationPatternInfo.cs
- AssemblyResolver.cs
- SqlGenericUtil.cs
- RijndaelManagedTransform.cs