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
- ResXDataNode.cs
- TdsValueSetter.cs
- OdbcEnvironmentHandle.cs
- LayoutManager.cs
- EntityConnection.cs
- LinearQuaternionKeyFrame.cs
- ToolboxDataAttribute.cs
- XmlNamespaceMapping.cs
- TransformerInfo.cs
- ListViewSortEventArgs.cs
- _NetRes.cs
- InputManager.cs
- DesignerAttribute.cs
- MultipartIdentifier.cs
- Trigger.cs
- UserNameSecurityToken.cs
- RuntimeIdentifierPropertyAttribute.cs
- StateMachine.cs
- FileInfo.cs
- TextPointer.cs
- SimpleMailWebEventProvider.cs
- InputManager.cs
- SimpleHandlerBuildProvider.cs
- IDQuery.cs
- DynamicResourceExtensionConverter.cs
- IgnoreFileBuildProvider.cs
- UDPClient.cs
- DetailsViewDeleteEventArgs.cs
- RegexCharClass.cs
- Enlistment.cs
- NativeWindow.cs
- SqlInternalConnectionSmi.cs
- ActivityStateQuery.cs
- XmlSchemaAll.cs
- FamilyMapCollection.cs
- COMException.cs
- SqlBinder.cs
- SizeAnimationBase.cs
- TextDecorations.cs
- CreateUserErrorEventArgs.cs
- SubMenuStyleCollection.cs
- RuntimeHelpers.cs
- FontStretch.cs
- WorkflowControlEndpoint.cs
- DrawingCollection.cs
- PerformanceCounterNameAttribute.cs
- FormsAuthenticationConfiguration.cs
- DesignTimeParseData.cs
- TextServicesDisplayAttribute.cs
- EncryptedKey.cs
- HotSpotCollection.cs
- Simplifier.cs
- ping.cs
- TypeInfo.cs
- SqlErrorCollection.cs
- PrivilegeNotHeldException.cs
- ADConnectionHelper.cs
- Expressions.cs
- XmlDataProvider.cs
- DesignerVerb.cs
- Reference.cs
- EntityConnectionStringBuilder.cs
- TextPointer.cs
- CheckBoxField.cs
- TextComposition.cs
- RepeaterCommandEventArgs.cs
- RestHandlerFactory.cs
- ElementUtil.cs
- RenderDataDrawingContext.cs
- EventEntry.cs
- EventLogEntryCollection.cs
- DataGridViewUtilities.cs
- MouseGestureValueSerializer.cs
- ELinqQueryState.cs
- SemanticKeyElement.cs
- SrgsSemanticInterpretationTag.cs
- ComboBoxAutomationPeer.cs
- BadImageFormatException.cs
- ColorConvertedBitmap.cs
- RequestQueryProcessor.cs
- RoutingTable.cs
- SmiMetaDataProperty.cs
- RemoteWebConfigurationHostServer.cs
- TabletCollection.cs
- ItemCheckEvent.cs
- StrokeIntersection.cs
- ToolBar.cs
- Logging.cs
- DLinqTableProvider.cs
- DataGridColumnsPage.cs
- DataGridViewColumnHeaderCell.cs
- TypeNameParser.cs
- VisualSerializer.cs
- EntryIndex.cs
- RecordManager.cs
- ParsedAttributeCollection.cs
- ParallelDesigner.cs
- CryptoKeySecurity.cs
- ClientTargetSection.cs
- XslTransform.cs