static string ToMessage(Guid instanceId, Guid instanceOwnerId)
 {
     if (instanceId == Guid.Empty)
     {
         return(SRCore.CannotAcquireLockDefault);
     }
     if (instanceOwnerId == Guid.Empty)
     {
         return(SRCore.CannotAcquireLockSpecific(instanceId));
     }
     return(SRCore.CannotAcquireLockSpecificWithOwner(instanceId, instanceOwnerId));
 }