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
- versioninfo.cs
- RegistryPermission.cs
- XmlConvert.cs
- Typography.cs
- URLMembershipCondition.cs
- DesignTimeValidationFeature.cs
- StringReader.cs
- GeometryGroup.cs
- RegexCompilationInfo.cs
- XamlTemplateSerializer.cs
- ExpressionBuilderCollection.cs
- RedBlackList.cs
- HttpServerVarsCollection.cs
- AddressUtility.cs
- CacheOutputQuery.cs
- KeyedHashAlgorithm.cs
- SqlCachedBuffer.cs
- ExceptionCollection.cs
- EncoderBestFitFallback.cs
- XmlDocumentViewSchema.cs
- TrackingLocation.cs
- RelatedImageListAttribute.cs
- RegisteredExpandoAttribute.cs
- RenamedEventArgs.cs
- BooleanAnimationBase.cs
- SupportingTokenSecurityTokenResolver.cs
- LayoutManager.cs
- DESCryptoServiceProvider.cs
- XamlFigureLengthSerializer.cs
- FillErrorEventArgs.cs
- WebPartRestoreVerb.cs
- FileUtil.cs
- WindowsHyperlink.cs
- coordinator.cs
- XmlSchemaValidator.cs
- LayoutDump.cs
- ClientScriptManagerWrapper.cs
- XslAstAnalyzer.cs
- xsdvalidator.cs
- CodeDOMProvider.cs
- __FastResourceComparer.cs
- SqlXml.cs
- ThreadStateException.cs
- EditingCoordinator.cs
- TextWriter.cs
- ConstraintConverter.cs
- DeclarativeCatalogPartDesigner.cs
- ChangesetResponse.cs
- DataSourceXmlAttributeAttribute.cs
- WindowsScrollBarBits.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- BindingContext.cs
- DateTimeStorage.cs
- SvcMapFile.cs
- loginstatus.cs
- QilUnary.cs
- X509Extension.cs
- sqlstateclientmanager.cs
- PriorityQueue.cs
- BitmapInitialize.cs
- CheckBoxField.cs
- BitmapCodecInfoInternal.cs
- XmlILTrace.cs
- LogicalExpr.cs
- RuleSettings.cs
- BitmapCache.cs
- TextTreeNode.cs
- TextDpi.cs
- InheritanceContextHelper.cs
- GenericPrincipal.cs
- ByteAnimation.cs
- LogWriteRestartAreaState.cs
- MdiWindowListItemConverter.cs
- PerformanceCounterPermissionEntry.cs
- TripleDES.cs
- UnsafeCollabNativeMethods.cs
- xmlglyphRunInfo.cs
- SafeHandles.cs
- DbFunctionCommandTree.cs
- DbConnectionPoolOptions.cs
- RolePrincipal.cs
- TreeIterator.cs
- UidPropertyAttribute.cs
- InputLangChangeRequestEvent.cs
- AuthenticationModuleElement.cs
- BaseDataListActionList.cs
- TraceContextEventArgs.cs
- InfoCardSymmetricCrypto.cs
- NavigationProperty.cs
- Material.cs
- BindingExpressionBase.cs
- OperationFormatUse.cs
- Pen.cs
- QilName.cs
- NativeMethods.cs
- CaseKeyBox.ViewModel.cs
- ButtonPopupAdapter.cs
- EntityKeyElement.cs
- PasswordTextContainer.cs
- FixedSOMFixedBlock.cs