Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- AdornedElementPlaceholder.cs
- GlyphsSerializer.cs
- XmlArrayItemAttributes.cs
- CoreSwitches.cs
- _WinHttpWebProxyDataBuilder.cs
- SigningDialog.cs
- TemplateEditingService.cs
- TypeSemantics.cs
- TablePattern.cs
- Bits.cs
- shaperfactoryquerycachekey.cs
- Point4D.cs
- CultureTableRecord.cs
- SignatureHelper.cs
- Cursor.cs
- BitmapFrameEncode.cs
- LinkConverter.cs
- RpcCryptoRequest.cs
- TextInfo.cs
- RefType.cs
- AssemblySettingAttributes.cs
- ListViewDeleteEventArgs.cs
- ProviderConnectionPointCollection.cs
- DecoderExceptionFallback.cs
- DesignObjectWrapper.cs
- WindowsUpDown.cs
- EtwTrace.cs
- controlskin.cs
- FigureParaClient.cs
- NavigationProgressEventArgs.cs
- QueryResponse.cs
- StateRuntime.cs
- Style.cs
- adornercollection.cs
- LocalizationParserHooks.cs
- DateTimeHelper.cs
- MemberHolder.cs
- CookieProtection.cs
- AutomationEventArgs.cs
- StickyNoteAnnotations.cs
- Helpers.cs
- ImageAnimator.cs
- CfgParser.cs
- ProxyWebPartManager.cs
- OleDbCommandBuilder.cs
- BasicExpressionVisitor.cs
- TextBlockAutomationPeer.cs
- AlphaSortedEnumConverter.cs
- NativeMethods.cs
- Trustee.cs
- MessageQueueAccessControlEntry.cs
- TypeResolver.cs
- DataProtection.cs
- GeneralTransform.cs
- DynamicDataRoute.cs
- ListViewItem.cs
- GridView.cs
- DependencyObjectType.cs
- HeaderUtility.cs
- TraceContextEventArgs.cs
- ByteStreamGeometryContext.cs
- EntryWrittenEventArgs.cs
- PageStatePersister.cs
- keycontainerpermission.cs
- EtwTrackingBehavior.cs
- MimeTypeAttribute.cs
- Matrix.cs
- _SslSessionsCache.cs
- HttpHeaderCollection.cs
- EnumerableRowCollection.cs
- BufferedReadStream.cs
- QilCloneVisitor.cs
- HtmlImage.cs
- DataGridViewCellCollection.cs
- DesignerVerb.cs
- DataGridViewImageColumn.cs
- HyperLink.cs
- CmsInterop.cs
- DeploymentSection.cs
- DependencyPropertyKind.cs
- SecurityChannelFactory.cs
- ConfigurationSettings.cs
- HelpKeywordAttribute.cs
- StringFormat.cs
- TreeChangeInfo.cs
- TagMapCollection.cs
- SystemIPAddressInformation.cs
- versioninfo.cs
- PlanCompilerUtil.cs
- RemotingConfigParser.cs
- Security.cs
- EntityDataSourceQueryBuilder.cs
- AstTree.cs
- LogWriteRestartAreaState.cs
- XmlParserContext.cs
- PolyLineSegment.cs
- GroupBoxRenderer.cs
- ReadOnlyDataSource.cs
- DbProviderServices.cs
- CodeEntryPointMethod.cs