Hi,
I have a POCO class(say for ex, ClassA), which calls various private methods based on the payload type.
I need to capture the business transction for each of the these payloads.
If I create a custom rule for ClassA, I don't get the transactions...
I had excluded the Auto discovered Endpoint and created POCO rules for the child BT with higher priority.
Asp.net Custom Match Rule for parent BT with lower priority.
This did not work.
What happens when I create a Rule on Method2, Method3.
But Method1 business transaction is Auto Discovered.
My code would be similar to this:
class Test
{
public void Method1()
{
if( someCondition)
{
Method2();
}
else
{
Method3(...