Dotfuscator User's Guide
Automatically Sending Method Parameters as Extended Keys

In addition to user specified name-value pairs gathered at runtime and sent in the Extended Keys the parameter names and values of instrumented methods can be automatically gathered and added to the set of Extended Key data. 

To add parameter information to extended key information, specify the ExtendedKeyMethodArguements on the attribute decorating the method whose parameters and values you wish to send.

Dotfuscator uses the ExtendedKeyMethodArguements to generate code that gathers the values of the specified parameters at runtime and places them in a key-value dictionary. The ExtendedKeyMethodArguements is a string that defines which parameters will be included, and optionally what the reported keys should named be in the message data.

Attributes that support extended keys provide an ExtendedKeyMethodArguement.

ExtendedKeyMethodArguements is always optional. If it is blank or omitted, the resulting PreEmptive Analytics message does not include parameter information.

ExtendedKeyMethodArguements values can consist of any combination of the following patterns:

* All parameters
<param1>,<param2> Only the names and values of param1 and param2 
<param1>=<key1>,<param2>=<key2> Only the values of param1 and param2 with the key names key1 and key2 respectively

 

 


© 2016 PreEmptive Solutions, LLC. All Rights Reserved.

www.preemptive.com