NET (Agent, Installation)

cancel
Showing results for 
Search instead for 
Did you mean: 

Data Collector for Generic Return Value in C#

Data Collector for Generic Return Value in C#

The method I want to collect the return value on is defined as such:

public T GetFromSession<T>(string key) {}

When I specify the method in the data collector, should I use GetFromSession, GetFromSession<T>, or GetFromSession<Dictionary<string, string>> (this is the call to this method I'm interested in) ?

Data Collector for Generic Return Value in C#
2 REPLIES 2
Moderator

Re: Data Collector for Generic Return Value in C#

Hi ,

 

  Please try GetFromSession`1 as method name.  Let us know if it does not work.

 

Thanks,

Raunak



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.
Highlighted

Re: Data Collector for Generic Return Value in C#

Hi Raunak,

 

Unfortuneately that also did not work.

 

Thanks!