示例#1
0
 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));
 }
示例#3
0
 public InstanceKeyCompleteException(XName commandName, Guid instanceId, System.Runtime.DurableInstancing.InstanceKey instanceKey, string message, Exception innerException) : base(commandName, instanceId, message, innerException)
 {
     this.InstanceKey = instanceKey;
 }
示例#4
0
 public InstanceKeyCompleteException(XName commandName, System.Runtime.DurableInstancing.InstanceKey instanceKey, Exception innerException) : this(commandName, Guid.Empty, instanceKey, ToMessage(instanceKey), innerException)
 {
 }
示例#5
0
 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)
 {
 }