Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / System.Runtime.DurableInstancing / System / Runtime / DurableInstancing / InstanceHandleConflictException.cs / 1305376 / InstanceHandleConflictException.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 InstanceHandleConflictException : InstancePersistenceCommandException { public InstanceHandleConflictException() : this(SRCore.InstanceHandleConflictDefault, null) { } public InstanceHandleConflictException(string message) : this(message, null) { } public InstanceHandleConflictException(string message, Exception innerException) : base(message, innerException) { } public InstanceHandleConflictException(XName commandName, Guid instanceId) : this(commandName, instanceId, null) { } public InstanceHandleConflictException(XName commandName, Guid instanceId, Exception innerException) : this(commandName, instanceId, ToMessage(instanceId), innerException) { } public InstanceHandleConflictException(XName commandName, Guid instanceId, string message, Exception innerException) : base(commandName, instanceId, message, innerException) { } [SecurityCritical] protected InstanceHandleConflictException(SerializationInfo info, StreamingContext context) : base(info, context) { } static string ToMessage(Guid instanceId) { if (instanceId != Guid.Empty) { return SRCore.InstanceHandleConflictSpecific(instanceId); } return SRCore.InstanceHandleConflictDefault; } } } // 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
- SizeF.cs
- GeneralTransform3DCollection.cs
- SystemIPAddressInformation.cs
- ScriptManager.cs
- XmlSchemaCollection.cs
- DbXmlEnabledProviderManifest.cs
- DashStyle.cs
- EventLogSession.cs
- BaseParagraph.cs
- OpenTypeLayout.cs
- TableRow.cs
- DocumentXmlWriter.cs
- MergeLocalizationDirectives.cs
- QilCloneVisitor.cs
- SerializerProvider.cs
- Attachment.cs
- HttpListenerException.cs
- PropVariant.cs
- SocketException.cs
- HtmlInputFile.cs
- HtmlWindowCollection.cs
- DocumentOutline.cs
- TableCellCollection.cs
- XmlSchemaAttribute.cs
- RadioButton.cs
- BlobPersonalizationState.cs
- SqlDataSourceCommandEventArgs.cs
- NoneExcludedImageIndexConverter.cs
- Codec.cs
- ImageButton.cs
- CanonicalXml.cs
- KeyedPriorityQueue.cs
- DynamicActivityProperty.cs
- MouseGestureValueSerializer.cs
- BulletedListEventArgs.cs
- HtmlInputImage.cs
- TemplatedControlDesigner.cs
- OrderedDictionary.cs
- BamlResourceDeserializer.cs
- ResourceAttributes.cs
- WebPartVerb.cs
- PlatformCulture.cs
- OleStrCAMarshaler.cs
- GPRECTF.cs
- MissingMethodException.cs
- XPathChildIterator.cs
- BevelBitmapEffect.cs
- InternalResources.cs
- HostProtectionPermission.cs
- HtmlButton.cs
- ChangeNode.cs
- ActivityValidator.cs
- TextElementAutomationPeer.cs
- ContainerUIElement3D.cs
- SmiMetaDataProperty.cs
- PagedDataSource.cs
- ScrollChrome.cs
- Compiler.cs
- UIElement.cs
- AtomMaterializerLog.cs
- WebPartVerbsEventArgs.cs
- DescendentsWalker.cs
- TemplateLookupAction.cs
- IconHelper.cs
- WindowsListViewGroupHelper.cs
- TreeNodeEventArgs.cs
- Int32Rect.cs
- RegexParser.cs
- DataServiceProcessingPipelineEventArgs.cs
- TableProviderWrapper.cs
- BamlRecordWriter.cs
- RawTextInputReport.cs
- Membership.cs
- FunctionOverloadResolver.cs
- OleDbSchemaGuid.cs
- LinqExpressionNormalizer.cs
- NullableFloatMinMaxAggregationOperator.cs
- GraphicsPathIterator.cs
- MethodToken.cs
- Duration.cs
- ProfessionalColors.cs
- CommandExpr.cs
- DataSourceControlBuilder.cs
- XmlStrings.cs
- XmlChildNodes.cs
- PartialArray.cs
- CrossContextChannel.cs
- TreeNodeConverter.cs
- odbcmetadatafactory.cs
- SystemWebSectionGroup.cs
- ConfigurationLockCollection.cs
- Application.cs
- RoleServiceManager.cs
- EventRecord.cs
- TouchesOverProperty.cs
- GridViewColumn.cs
- CodePageEncoding.cs
- XmlSchemaExporter.cs
- GroupItem.cs
- EntityDataSourceDesigner.cs