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
- SortDescription.cs
- IconConverter.cs
- Menu.cs
- CmsInterop.cs
- dsa.cs
- XMLUtil.cs
- Stackframe.cs
- TemplatedControlDesigner.cs
- SmiContext.cs
- DataReaderContainer.cs
- UserPersonalizationStateInfo.cs
- StatusBarPanelClickEvent.cs
- ExpressionParser.cs
- HelpEvent.cs
- BuildProviderCollection.cs
- CompensatableTransactionScopeActivityDesigner.cs
- SamlSubject.cs
- DoubleUtil.cs
- DesignerSerializerAttribute.cs
- NumericExpr.cs
- PrePostDescendentsWalker.cs
- panel.cs
- DetailsViewRow.cs
- SqlTriggerContext.cs
- MessageSmuggler.cs
- SafeCryptoHandles.cs
- ListManagerBindingsCollection.cs
- WebPartCatalogCloseVerb.cs
- SchemaCollectionPreprocessor.cs
- DataTransferEventArgs.cs
- BaseInfoTable.cs
- VerticalAlignConverter.cs
- StyleTypedPropertyAttribute.cs
- SlipBehavior.cs
- TypedElement.cs
- BufferedGraphicsManager.cs
- AnnouncementEndpoint.cs
- OutputCacheProfileCollection.cs
- InvalidCastException.cs
- RoleManagerEventArgs.cs
- DesignerDataColumn.cs
- TableLayoutCellPaintEventArgs.cs
- EntityDataSourceEntitySetNameItem.cs
- TextBoxDesigner.cs
- OdbcConnectionStringbuilder.cs
- RootContext.cs
- SymbolPair.cs
- WindowsFormsHost.cs
- InfiniteIntConverter.cs
- BitmapFrame.cs
- DataGridViewImageCell.cs
- DrawingAttributesDefaultValueFactory.cs
- LinkUtilities.cs
- FixUpCollection.cs
- CompatibleComparer.cs
- BitStack.cs
- AddInDeploymentState.cs
- SqlAliasesReferenced.cs
- HtmlAnchor.cs
- RemotingException.cs
- ReturnValue.cs
- MethodAccessException.cs
- BitStack.cs
- Rijndael.cs
- DbLambda.cs
- SrgsSemanticInterpretationTag.cs
- StateMachineDesignerPaint.cs
- SuppressMessageAttribute.cs
- RawStylusInputCustomData.cs
- TableAdapterManagerHelper.cs
- DataListCommandEventArgs.cs
- DataGridViewBand.cs
- ProcessHostFactoryHelper.cs
- BaseTreeIterator.cs
- PointHitTestParameters.cs
- TrackingProfile.cs
- EntityReference.cs
- SocketSettings.cs
- WindowsAuthenticationEventArgs.cs
- TextDecorationCollection.cs
- ThreadStartException.cs
- UserNameSecurityTokenAuthenticator.cs
- IPipelineRuntime.cs
- NotificationContext.cs
- GiveFeedbackEventArgs.cs
- MethodExpr.cs
- AppDomainFactory.cs
- RevocationPoint.cs
- _PooledStream.cs
- ScrollableControl.cs
- MethodExpression.cs
- DataObject.cs
- MenuItem.cs
- PageCache.cs
- CharacterShapingProperties.cs
- DomainConstraint.cs
- AsyncContentLoadedEventArgs.cs
- LocalizedNameDescriptionPair.cs
- UpdatePanelTriggerCollection.cs
- SynchronizationLockException.cs