private static string ToMessage(System.Runtime.DurableInstancing.InstanceKey instanceKey) { if ((instanceKey != null) && instanceKey.IsValid) { return(SRCore.KeyCompleteSpecific(instanceKey.Value)); } return(SRCore.KeyCompleteDefault); }
private static string ToMessage(Guid instanceId, System.Runtime.DurableInstancing.InstanceKey instanceKey, Guid conflictingInstanceId) { if ((instanceKey == null) || !instanceKey.IsValid) { return(SRCore.KeyCollisionDefault); } if ((instanceId != Guid.Empty) && (conflictingInstanceId != Guid.Empty)) { return(SRCore.KeyCollisionSpecific(instanceId, instanceKey.Value, conflictingInstanceId)); } return(SRCore.KeyCollisionSpecificKeyOnly(instanceKey.Value)); }
public InstanceKeyCompleteException(XName commandName, Guid instanceId, System.Runtime.DurableInstancing.InstanceKey instanceKey, string message, Exception innerException) : base(commandName, instanceId, message, innerException) { this.InstanceKey = instanceKey; }
public InstanceKeyCompleteException(XName commandName, System.Runtime.DurableInstancing.InstanceKey instanceKey, Exception innerException) : this(commandName, Guid.Empty, instanceKey, ToMessage(instanceKey), innerException) { }
public InstanceKeyCompleteException(XName commandName, System.Runtime.DurableInstancing.InstanceKey instanceKey) : this(commandName, instanceKey, null) { }
public InstanceKeyNotReadyException(System.Xml.Linq.XName commandName, System.Runtime.DurableInstancing.InstanceKey instanceKey, System.Exception innerException) { }
public InstanceKeyCompleteException(System.Xml.Linq.XName commandName, System.Runtime.DurableInstancing.InstanceKey instanceKey) { }
public InstanceKeyCompleteException(System.Xml.Linq.XName commandName, System.Guid instanceId, System.Runtime.DurableInstancing.InstanceKey instanceKey, string message, System.Exception innerException) { }
public InstanceKeyCollisionException(System.Xml.Linq.XName commandName, System.Guid instanceId, System.Runtime.DurableInstancing.InstanceKey instanceKey, System.Guid conflictingInstanceId, string message, System.Exception innerException) { }
public InstanceKeyCollisionException(XName commandName, Guid instanceId, System.Runtime.DurableInstancing.InstanceKey instanceKey, Guid conflictingInstanceId, string message, Exception innerException) : base(commandName, instanceId, message, innerException) { this.ConflictingInstanceId = conflictingInstanceId; this.InstanceKey = instanceKey; }
public InstanceKeyCollisionException(XName commandName, Guid instanceId, System.Runtime.DurableInstancing.InstanceKey instanceKey, Guid conflictingInstanceId, Exception innerException) : this(commandName, instanceId, instanceKey, conflictingInstanceId, ToMessage(instanceId, instanceKey, conflictingInstanceId), innerException) { }
public InstanceKeyCollisionException(XName commandName, Guid instanceId, System.Runtime.DurableInstancing.InstanceKey instanceKey, Guid conflictingInstanceId) : this(commandName, instanceId, instanceKey, conflictingInstanceId, null) { }
public CorrelationMessageProperty(System.Runtime.DurableInstancing.InstanceKey correlationKey, IEnumerable <System.Runtime.DurableInstancing.InstanceKey> additionalKeys) { }