Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / System.Runtime.DurableInstancing / System / Runtime / DurableInstancing / InstanceCompleteException.cs / 1305376 / InstanceCompleteException.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.Runtime.DurableInstancing { using System; using System.Runtime.Serialization; using System.Security; using System.Xml.Linq; [Serializable] public class InstanceCompleteException : InstancePersistenceCommandException { public InstanceCompleteException() : this(SRCore.InstanceCompleteDefault, null) { } public InstanceCompleteException(string message) : this(message, null) { } public InstanceCompleteException(string message, Exception innerException) : base(message, innerException) { } public InstanceCompleteException(XName commandName, Guid instanceId) : this(commandName, instanceId, null) { } public InstanceCompleteException(XName commandName, Guid instanceId, Exception innerException) : this(commandName, instanceId, ToMessage(instanceId), innerException) { } public InstanceCompleteException(XName commandName, Guid instanceId, string message, Exception innerException) : base(commandName, instanceId, message, innerException) { } [SecurityCritical] protected InstanceCompleteException(SerializationInfo info, StreamingContext context) : base(info, context) { } static string ToMessage(Guid instanceId) { if (instanceId != Guid.Empty) { return SRCore.InstanceCompleteSpecific(instanceId); } return SRCore.InstanceCompleteDefault; } } } // 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
- LinqDataSourceDisposeEventArgs.cs
- IncrementalReadDecoders.cs
- TableChangeProcessor.cs
- ImageMapEventArgs.cs
- ProjectionCamera.cs
- CryptoProvider.cs
- MulticastDelegate.cs
- PathGeometry.cs
- SmiEventStream.cs
- XmlProcessingInstruction.cs
- FormsAuthenticationCredentials.cs
- ShapeTypeface.cs
- Sql8ConformanceChecker.cs
- Timeline.cs
- CursorConverter.cs
- X509DefaultServiceCertificateElement.cs
- LogicalMethodInfo.cs
- EntityType.cs
- ItemChangedEventArgs.cs
- ObjectDisposedException.cs
- StreamWriter.cs
- RecoverInstanceLocksCommand.cs
- RtfControlWordInfo.cs
- ApplicationException.cs
- X509CertificateCollection.cs
- AnyReturnReader.cs
- String.cs
- CaseStatement.cs
- TextInfo.cs
- SqlCharStream.cs
- Pens.cs
- HiddenFieldPageStatePersister.cs
- CustomAttributeSerializer.cs
- CompositionAdorner.cs
- Matrix3DValueSerializer.cs
- ComponentDispatcher.cs
- MenuBase.cs
- ParameterEditorUserControl.cs
- ObjectParameter.cs
- StylusShape.cs
- PreservationFileReader.cs
- IntSecurity.cs
- HtmlInputCheckBox.cs
- TypeDescriptionProviderAttribute.cs
- LayeredChannelFactory.cs
- CollectionViewGroupRoot.cs
- TraceLog.cs
- DataGridRowHeader.cs
- InstanceDescriptor.cs
- GacUtil.cs
- Win32Native.cs
- MtomMessageEncoder.cs
- HttpProcessUtility.cs
- datacache.cs
- _NetworkingPerfCounters.cs
- ImageDrawing.cs
- Identity.cs
- RequestCacheManager.cs
- Rotation3DAnimation.cs
- RelatedEnd.cs
- XpsSerializationManagerAsync.cs
- GridItemPatternIdentifiers.cs
- DmlSqlGenerator.cs
- WebContext.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- SoapTypeAttribute.cs
- GeneralTransform3D.cs
- FtpWebResponse.cs
- _PooledStream.cs
- CodeConditionStatement.cs
- ColorContext.cs
- EntityDataSourceWrapper.cs
- WebBrowserContainer.cs
- OuterGlowBitmapEffect.cs
- PresentationSource.cs
- XmlQualifiedName.cs
- Propagator.JoinPropagator.cs
- Padding.cs
- ListBoxItem.cs
- cookiecontainer.cs
- ScrollItemPattern.cs
- OperationContext.cs
- GregorianCalendar.cs
- IteratorDescriptor.cs
- RelationshipConstraintValidator.cs
- WindowsTitleBar.cs
- CodeIdentifiers.cs
- Mouse.cs
- FormsAuthenticationModule.cs
- ColumnWidthChangingEvent.cs
- XmlSerializerFactory.cs
- HtmlHead.cs
- StatusBarPanelClickEvent.cs
- AbandonedMutexException.cs
- COM2Enum.cs
- StrongNameIdentityPermission.cs
- SqlDataSourceCommandEventArgs.cs
- UpdatePanelTrigger.cs
- OdbcStatementHandle.cs
- LookupTables.cs