Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / System.Runtime.DurableInstancing / System / Runtime / DurableInstancing / InstanceLockLostException.cs / 1305376 / InstanceLockLostException.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.Runtime.DurableInstancing { using System.Diagnostics.CodeAnalysis; using System.Runtime.Serialization; using System.Security; using System.Xml.Linq; [Serializable] public class InstanceLockLostException : InstancePersistenceCommandException { public InstanceLockLostException() : this(SRCore.InstanceLockLostDefault, null) { } public InstanceLockLostException(string message) : this(message, null) { } public InstanceLockLostException(string message, Exception innerException) : base(message, innerException) { } public InstanceLockLostException(XName commandName, Guid instanceId) : this(commandName, instanceId, null) { } public InstanceLockLostException(XName commandName, Guid instanceId, Exception innerException) : this(commandName, instanceId, ToMessage(instanceId), innerException) { } public InstanceLockLostException(XName commandName, Guid instanceId, string message, Exception innerException) : base(commandName, instanceId, message, innerException) { } [SecurityCritical] protected InstanceLockLostException(SerializationInfo info, StreamingContext context) : base(info, context) { } static string ToMessage(Guid instanceId) { if (instanceId != Guid.Empty) { return SRCore.InstanceLockLostSpecific(instanceId); } return SRCore.InstanceLockLostDefault; } } } // 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
- XPathScanner.cs
- ThreadSafeMessageFilterTable.cs
- ArgumentFixer.cs
- ObfuscationAttribute.cs
- PrinterUnitConvert.cs
- WebRequestModuleElement.cs
- XmlArrayItemAttributes.cs
- ElementUtil.cs
- BufferedGraphicsContext.cs
- DefaultProxySection.cs
- AsyncWaitHandle.cs
- EventListener.cs
- StorageComplexTypeMapping.cs
- RegistrationServices.cs
- ColorMap.cs
- LinqDataSourceStatusEventArgs.cs
- SecurityElement.cs
- WebHeaderCollection.cs
- ConcurrentStack.cs
- DefaultSerializationProviderAttribute.cs
- MultiTrigger.cs
- LockCookie.cs
- OdbcFactory.cs
- ChannelServices.cs
- SimpleTypeResolver.cs
- OleDbDataAdapter.cs
- FileIOPermission.cs
- DbSetClause.cs
- CompilationSection.cs
- login.cs
- KnownAssemblyEntry.cs
- CounterSample.cs
- Model3DGroup.cs
- GetPageNumberCompletedEventArgs.cs
- UrlPath.cs
- Action.cs
- MethodCallTranslator.cs
- ResourcePart.cs
- TcpServerChannel.cs
- FloaterParaClient.cs
- BuildManager.cs
- HTTPNotFoundHandler.cs
- RequestValidator.cs
- TextEvent.cs
- ProfileProvider.cs
- PropertyTab.cs
- MemberCollection.cs
- HtmlLinkAdapter.cs
- TagPrefixAttribute.cs
- ReadOnlyDictionary.cs
- ClientUtils.cs
- DecoderFallbackWithFailureFlag.cs
- CodeTypeOfExpression.cs
- WebPartDesigner.cs
- EncodingNLS.cs
- DataSourceXmlSerializer.cs
- QualificationDataItem.cs
- CheckedPointers.cs
- FormViewUpdateEventArgs.cs
- ParseElement.cs
- CompositeFontFamily.cs
- XmlSignatureManifest.cs
- PopOutPanel.cs
- Color.cs
- CapabilitiesRule.cs
- StringDictionary.cs
- RawTextInputReport.cs
- XmlDownloadManager.cs
- SqlDataReaderSmi.cs
- ResourceReferenceExpression.cs
- WebPartConnectionsCloseVerb.cs
- Selector.cs
- CachedFontFamily.cs
- GridView.cs
- UniqueConstraint.cs
- TextProperties.cs
- SQLBinary.cs
- MdiWindowListStrip.cs
- AssemblyInfo.cs
- EntityClientCacheEntry.cs
- SizeAnimationClockResource.cs
- OdbcConnectionOpen.cs
- AmbiguousMatchException.cs
- CustomCredentialPolicy.cs
- FrameworkContextData.cs
- GroupBoxRenderer.cs
- SuppressMergeCheckAttribute.cs
- FileDialogPermission.cs
- KeyEvent.cs
- Image.cs
- UserPreferenceChangingEventArgs.cs
- WebRequestModuleElementCollection.cs
- TypeContext.cs
- BinaryParser.cs
- BitmapEffectDrawingContextWalker.cs
- RuntimeIdentifierPropertyAttribute.cs
- LinearKeyFrames.cs
- RoutingConfiguration.cs
- VectorAnimation.cs
- SwitchElementsCollection.cs