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
- FaultBookmark.cs
- Emitter.cs
- GenericsInstances.cs
- NotSupportedException.cs
- hresults.cs
- MethodAccessException.cs
- SystemColors.cs
- InputMethodStateTypeInfo.cs
- ClientScriptManagerWrapper.cs
- SortFieldComparer.cs
- XslTransform.cs
- Panel.cs
- FileSystemWatcher.cs
- CompareValidator.cs
- CoTaskMemHandle.cs
- InstanceOwner.cs
- CollectionsUtil.cs
- ProcessModuleCollection.cs
- CaseCqlBlock.cs
- ResXFileRef.cs
- PointAnimation.cs
- SmiEventSink_Default.cs
- XmlFormatExtensionPointAttribute.cs
- DictionaryTraceRecord.cs
- ChildTable.cs
- HwndKeyboardInputProvider.cs
- AutomationIdentifierGuids.cs
- StoreConnection.cs
- CodeDelegateInvokeExpression.cs
- XmlWrappingReader.cs
- SmiEventStream.cs
- ListBindingHelper.cs
- BitmapScalingModeValidation.cs
- VisualTarget.cs
- HtmlInputRadioButton.cs
- AsyncDataRequest.cs
- RSAPKCS1SignatureFormatter.cs
- SafeCloseHandleCritical.cs
- SchemaMerger.cs
- GenericIdentity.cs
- StreamWriter.cs
- XmlAttributes.cs
- PolicyManager.cs
- LoginStatusDesigner.cs
- HtmlPanelAdapter.cs
- PixelShader.cs
- WorkflowTraceTransfer.cs
- ApplicationFileParser.cs
- DataGridLinkButton.cs
- PointLightBase.cs
- SignedXml.cs
- SpeechSeg.cs
- Constants.cs
- CheckBoxFlatAdapter.cs
- CodeExpressionStatement.cs
- StatusBarDrawItemEvent.cs
- CompositeFontParser.cs
- SettingsPropertyValue.cs
- DataGridViewAutoSizeModeEventArgs.cs
- Sentence.cs
- DataRowIndexBuffer.cs
- RemotingConfigParser.cs
- DoubleStorage.cs
- UpDownBaseDesigner.cs
- EntityReference.cs
- XmlBaseReader.cs
- ReachFixedPageSerializer.cs
- AssertFilter.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- PanelStyle.cs
- WebServiceParameterData.cs
- AQNBuilder.cs
- TreeNodeBinding.cs
- TypeDelegator.cs
- RefType.cs
- PriorityBindingExpression.cs
- VectorValueSerializer.cs
- ControlBuilder.cs
- WindowsSpinner.cs
- MenuStrip.cs
- MediaContext.cs
- SimpleHandlerFactory.cs
- AssemblyHash.cs
- DesignTimeValidationFeature.cs
- ValueTypeFixupInfo.cs
- SqlDataAdapter.cs
- ObjectDataSourceSelectingEventArgs.cs
- AnimationStorage.cs
- XmlQueryCardinality.cs
- ApplicationDirectoryMembershipCondition.cs
- BookmarkEventArgs.cs
- ObjectComplexPropertyMapping.cs
- Clause.cs
- NominalTypeEliminator.cs
- SignatureToken.cs
- EventProxy.cs
- FunctionImportMapping.cs
- MinimizableAttributeTypeConverter.cs
- StorageComplexTypeMapping.cs
- BindingContext.cs