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
- ReadOnlyNameValueCollection.cs
- DropTarget.cs
- PageStatePersister.cs
- AnnotationAdorner.cs
- XmlRootAttribute.cs
- NativeMethods.cs
- ErrorWebPart.cs
- CodeArgumentReferenceExpression.cs
- GridViewPageEventArgs.cs
- DesigntimeLicenseContext.cs
- Psha1DerivedKeyGenerator.cs
- safelinkcollection.cs
- FixedSOMFixedBlock.cs
- ConfigXmlReader.cs
- ValidatedControlConverter.cs
- SponsorHelper.cs
- BCLDebug.cs
- SettingsPropertyCollection.cs
- BaseCAMarshaler.cs
- MailAddressParser.cs
- StorageAssociationSetMapping.cs
- DetailsViewDeleteEventArgs.cs
- FrameAutomationPeer.cs
- RNGCryptoServiceProvider.cs
- FixedTextPointer.cs
- TaiwanLunisolarCalendar.cs
- Helpers.cs
- InkCanvasSelection.cs
- CLSCompliantAttribute.cs
- QueryStoreStatusRequest.cs
- PropertyInformationCollection.cs
- InlineUIContainer.cs
- QueryExtender.cs
- PropVariant.cs
- SequentialOutput.cs
- PlanCompiler.cs
- ProxyElement.cs
- SchemaImporterExtension.cs
- xmlglyphRunInfo.cs
- KeyGesture.cs
- HeaderElement.cs
- Timer.cs
- RightsManagementInformation.cs
- TextProperties.cs
- SnapshotChangeTrackingStrategy.cs
- TextLineResult.cs
- ResourceProviderFactory.cs
- DataGridViewCellCollection.cs
- EditorAttribute.cs
- ProtocolsConfiguration.cs
- RSAPKCS1KeyExchangeFormatter.cs
- ConnectionProviderAttribute.cs
- HtmlControlPersistable.cs
- FontFamilyValueSerializer.cs
- GroupBox.cs
- DCSafeHandle.cs
- CompiledRegexRunnerFactory.cs
- COM2ICategorizePropertiesHandler.cs
- PerformanceCounterPermissionEntryCollection.cs
- _NtlmClient.cs
- SafeHandle.cs
- FunctionNode.cs
- DropShadowEffect.cs
- ApplicationInfo.cs
- XmlQuerySequence.cs
- DiscardableAttribute.cs
- ConfigurationManager.cs
- HashSet.cs
- ScriptComponentDescriptor.cs
- PropertyMapper.cs
- SimpleBitVector32.cs
- ListQueryResults.cs
- UrlPropertyAttribute.cs
- TdsRecordBufferSetter.cs
- HttpResponse.cs
- ConfigurationSectionCollection.cs
- LongValidator.cs
- Certificate.cs
- FrameDimension.cs
- GenerateDerivedKeyRequest.cs
- Convert.cs
- Baml2006ReaderContext.cs
- GeometryGroup.cs
- SudsCommon.cs
- ErrorRuntimeConfig.cs
- ObjectNotFoundException.cs
- MinMaxParagraphWidth.cs
- COM2PictureConverter.cs
- OutputCacheSettingsSection.cs
- VariantWrapper.cs
- ExtendLockCommand.cs
- ResourceDisplayNameAttribute.cs
- TextBoxBase.cs
- FixedSOMTableCell.cs
- StylusTip.cs
- ChangeNode.cs
- VisualBasicSettingsHandler.cs
- UIElementHelper.cs
- TargetFrameworkUtil.cs
- DataGridViewTextBoxCell.cs