Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Threading / SynchronizationLockException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- LogStore.cs
- RangeExpression.cs
- WebPartCatalogAddVerb.cs
- ExtractorMetadata.cs
- DispatchWrapper.cs
- HostProtectionPermission.cs
- ReliableDuplexSessionChannel.cs
- WebPartTransformerAttribute.cs
- CheckBoxPopupAdapter.cs
- Argument.cs
- Rijndael.cs
- TrustLevel.cs
- ThreadStartException.cs
- MarkupCompilePass2.cs
- Point4DConverter.cs
- StringValueSerializer.cs
- StreamMarshaler.cs
- _NativeSSPI.cs
- DataTrigger.cs
- InterleavedZipPartStream.cs
- ResourceIDHelper.cs
- CustomErrorsSection.cs
- RadioButtonRenderer.cs
- NetNamedPipeBindingElement.cs
- ResourcesChangeInfo.cs
- FormClosingEvent.cs
- PointF.cs
- HostProtectionPermission.cs
- ScrollContentPresenter.cs
- ContextMenuService.cs
- RegexNode.cs
- RemotingServices.cs
- HtmlInputControl.cs
- TypeValidationEventArgs.cs
- ClientUtils.cs
- SamlAttributeStatement.cs
- OdbcDataAdapter.cs
- ProcessInputEventArgs.cs
- ByteStorage.cs
- NativeCppClassAttribute.cs
- CmsInterop.cs
- DocumentPageHost.cs
- AsyncStreamReader.cs
- ExtensionFile.cs
- Common.cs
- RangeExpression.cs
- DomainUpDown.cs
- StateRuntime.cs
- BlurBitmapEffect.cs
- DecodeHelper.cs
- SizeChangedEventArgs.cs
- EventBuilder.cs
- ValidatorCollection.cs
- ErrorRuntimeConfig.cs
- ProcessManager.cs
- CancellationHandlerDesigner.cs
- PasswordRecoveryDesigner.cs
- DynamicDataResources.Designer.cs
- ProcessModuleCollection.cs
- Inflater.cs
- ObjectPersistData.cs
- ConfigurationSchemaErrors.cs
- LambdaCompiler.Logical.cs
- CommandDesigner.cs
- GroupItem.cs
- SyndicationItemFormatter.cs
- FixedSOMPageConstructor.cs
- CharEnumerator.cs
- XmlNodeChangedEventManager.cs
- ColumnProvider.cs
- SqlDataSourceFilteringEventArgs.cs
- FunctionParameter.cs
- ThaiBuddhistCalendar.cs
- FormsAuthenticationTicket.cs
- OperationResponse.cs
- SqlDuplicator.cs
- ThreadStaticAttribute.cs
- FormViewDeletedEventArgs.cs
- IgnoreFileBuildProvider.cs
- ConditionValidator.cs
- PictureBox.cs
- WebBodyFormatMessageProperty.cs
- ProgressChangedEventArgs.cs
- DataGridViewControlCollection.cs
- HtmlTextArea.cs
- ProxyWebPartManager.cs
- EmptyStringExpandableObjectConverter.cs
- OleDbException.cs
- COM2EnumConverter.cs
- StylusEditingBehavior.cs
- WinFormsSecurity.cs
- TreeNodeCollection.cs
- JoinCqlBlock.cs
- WebPartsSection.cs
- HandleRef.cs
- UndirectedGraph.cs
- DataControlPagerLinkButton.cs
- LogReservationCollection.cs
- basenumberconverter.cs
- EntityDesignerUtils.cs