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
- GZipDecoder.cs
- WebServiceHandler.cs
- TextProperties.cs
- VirtualPathProvider.cs
- TextPointerBase.cs
- SerTrace.cs
- TextCompositionManager.cs
- InternalRelationshipCollection.cs
- KnownTypeHelper.cs
- SettingsSection.cs
- PersonalizationStateQuery.cs
- Size.cs
- ConvertersCollection.cs
- ThicknessKeyFrameCollection.cs
- BindingExpressionBase.cs
- TextRange.cs
- PropertyFilterAttribute.cs
- DeadCharTextComposition.cs
- LedgerEntryCollection.cs
- HttpCacheVary.cs
- PolyBezierSegment.cs
- IntegerValidator.cs
- ConstantSlot.cs
- DbParameterCollection.cs
- LightweightCodeGenerator.cs
- IndentedTextWriter.cs
- CustomSignedXml.cs
- TransformationRules.cs
- OptimalTextSource.cs
- XamlContextStack.cs
- UInt32Storage.cs
- VisualTreeUtils.cs
- MappingSource.cs
- BlockUIContainer.cs
- SoundPlayer.cs
- TextServicesHost.cs
- FixedHyperLink.cs
- DataServiceClientException.cs
- PropertyPushdownHelper.cs
- PassportAuthenticationModule.cs
- SharedUtils.cs
- HtmlElementEventArgs.cs
- RoleManagerSection.cs
- StringFreezingAttribute.cs
- DetailsViewRowCollection.cs
- MenuCommand.cs
- XamlSerializer.cs
- XmlSchemaComplexType.cs
- StringComparer.cs
- IndexerNameAttribute.cs
- DataColumn.cs
- CodeBinaryOperatorExpression.cs
- CqlBlock.cs
- PropertyDescriptor.cs
- Transactions.cs
- ContextMenuStrip.cs
- GacUtil.cs
- ReadOnlyDictionary.cs
- HandlerFactoryWrapper.cs
- DirectoryInfo.cs
- DataGridTableStyleMappingNameEditor.cs
- PeerTransportListenAddressConverter.cs
- RepeatButton.cs
- InternalEnumValidatorAttribute.cs
- Control.cs
- LambdaCompiler.Logical.cs
- LogStore.cs
- XPathBinder.cs
- MarkupObject.cs
- WebPartConnectionsCancelEventArgs.cs
- EncodingInfo.cs
- SHA384Managed.cs
- ListContractAdapter.cs
- ChangeBlockUndoRecord.cs
- ObjectHelper.cs
- RuntimeConfigLKG.cs
- XmlTextAttribute.cs
- MemoryMappedFile.cs
- EmptyStringExpandableObjectConverter.cs
- LockedActivityGlyph.cs
- FixedHyperLink.cs
- DocumentGridContextMenu.cs
- MailDefinitionBodyFileNameEditor.cs
- SessionParameter.cs
- List.cs
- URLAttribute.cs
- WSHttpBindingBaseElement.cs
- ScriptDescriptor.cs
- FacetEnabledSchemaElement.cs
- LocationSectionRecord.cs
- XPathNodeInfoAtom.cs
- CommandID.cs
- KeyGestureConverter.cs
- ClientProxyGenerator.cs
- RoutedEvent.cs
- CodeMemberProperty.cs
- RTLAwareMessageBox.cs
- HttpHandlersSection.cs
- ResXResourceReader.cs
- ThumbAutomationPeer.cs