The method gets a
Telemetry
instance that is ready to be sent. This is your chance to approve
or deny it. Returning 'false' means that the Telemetry will not be sent while 'true' means you approve it.
The Telemetry might go through other filters though, that might deny its sending.
To enable this processor you need to add it in the ApplicationInsights.xml like this:
<TelemetryProcessors>
<CustomProcessors>
<Processor type="full.path.to.Filter">
<Add name="Property" value="stringValue"/>
</Processor>
</CustomProcessors>
</TelemetryProcessors>
Note that the class defines a property named 'Property' which is configured too.
Every property that you wish to configure needs to have a 'setX' public method like 'setProperty' in this example
Exceptions thrown from the 'setX' methods will be caught by the framework that will ignore the filter
Created by gupele on 7/26/2016.