Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / System.Runtime.DurableInstancing / System / Runtime / DurableInstancing / InstanceNotReadyException.cs / 1305376 / InstanceNotReadyException.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 InstanceNotReadyException : InstancePersistenceCommandException { public InstanceNotReadyException() : this(SRCore.InstanceNotReadyDefault, null) { } public InstanceNotReadyException(string message) : this(message, null) { } public InstanceNotReadyException(string message, Exception innerException) : base(message, innerException) { } public InstanceNotReadyException(XName commandName, Guid instanceId) : this(commandName, instanceId, null) { } public InstanceNotReadyException(XName commandName, Guid instanceId, Exception innerException) : this(commandName, instanceId, ToMessage(instanceId), innerException) { } public InstanceNotReadyException(XName commandName, Guid instanceId, string message, Exception innerException) : base(commandName, instanceId, message, innerException) { } [SecurityCritical] protected InstanceNotReadyException(SerializationInfo info, StreamingContext context) : base(info, context) { } static string ToMessage(Guid instanceId) { if (instanceId != Guid.Empty) { return SRCore.InstanceNotReadySpecific(instanceId); } return SRCore.InstanceNotReadyDefault; } } } // 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
- HttpListenerElement.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- ToolStripArrowRenderEventArgs.cs
- RSAOAEPKeyExchangeDeformatter.cs
- AsyncContentLoadedEventArgs.cs
- CombinedHttpChannel.cs
- XslAst.cs
- CellRelation.cs
- FontSource.cs
- WebWorkflowRole.cs
- UpDownBase.cs
- TextEditorMouse.cs
- FontCollection.cs
- TdsParserSafeHandles.cs
- TextTrailingCharacterEllipsis.cs
- ExcCanonicalXml.cs
- DesignerActionItem.cs
- _ListenerRequestStream.cs
- BitmapSource.cs
- BamlRecordReader.cs
- EncryptedData.cs
- KnownTypesProvider.cs
- SqlFacetAttribute.cs
- BuilderInfo.cs
- Utilities.cs
- ScrollChrome.cs
- KeyValueConfigurationCollection.cs
- Parser.cs
- grammarelement.cs
- PropertyStore.cs
- EasingQuaternionKeyFrame.cs
- columnmapfactory.cs
- MexBindingElement.cs
- SqlLiftWhereClauses.cs
- DispatcherExceptionFilterEventArgs.cs
- NamespaceCollection.cs
- NativeBuffer.cs
- EntityObject.cs
- Underline.cs
- SqlCacheDependencyDatabaseCollection.cs
- ToolstripProfessionalRenderer.cs
- WebPartConnectionsEventArgs.cs
- PageCodeDomTreeGenerator.cs
- BamlStream.cs
- DataObjectCopyingEventArgs.cs
- DataGridColumn.cs
- TableRowCollection.cs
- XPathDocumentNavigator.cs
- ListViewItem.cs
- IPAddress.cs
- PreloadedPackages.cs
- ManagementDateTime.cs
- AttributeProviderAttribute.cs
- invalidudtexception.cs
- StaticExtension.cs
- TableLayoutSettings.cs
- FastPropertyAccessor.cs
- StaticFileHandler.cs
- PackageDigitalSignature.cs
- BasicExpressionVisitor.cs
- WebResponse.cs
- XhtmlBasicImageAdapter.cs
- DependencySource.cs
- TableRow.cs
- MetadataHelper.cs
- HistoryEventArgs.cs
- GeometryValueSerializer.cs
- NegotiateStream.cs
- SelectionChangedEventArgs.cs
- TextServicesProperty.cs
- PropertyDescriptors.cs
- GeneralTransform3DTo2DTo3D.cs
- MenuEventArgs.cs
- recordstatescratchpad.cs
- FileClassifier.cs
- ToolStrip.cs
- InternalRelationshipCollection.cs
- BasePropertyDescriptor.cs
- DataGridViewRowsRemovedEventArgs.cs
- PropertyInformationCollection.cs
- WmlListAdapter.cs
- MouseDevice.cs
- Win32.cs
- SqlCrossApplyToCrossJoin.cs
- UpDownBase.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- MsmqIntegrationMessagePool.cs
- MenuStrip.cs
- Query.cs
- DocumentXmlWriter.cs
- _RequestLifetimeSetter.cs
- DataGridViewCellStyleConverter.cs
- SafeMILHandle.cs
- ConditionValidator.cs
- BoundPropertyEntry.cs
- XmlSchemaSimpleTypeUnion.cs
- FormatterConverter.cs
- DefaultPrintController.cs
- DataGridViewTextBoxEditingControl.cs
- RegisterResponseInfo.cs