Microsoft.ApplicationInsights.Extensibility.Implementation.TelemetryProcessorChainBuilder
Represents an object used to Build a TelemetryProcessorChain.
Initializes a new instance of the TelemetryProcessorChainBuilder class.
public TelemetryProcessorChainBuilder(TelemetryConfiguration configuration, TelemetrySink telemetrySink)
Initializes a new instance of the TelemetryProcessorChainBuilder class.
Builds the chain of linked ITelemetryProcessor instances and sets the same in configuration object passed.
A special telemetry processor for handling Transmission is always appended as the last
processor in the chain.
public TelemetryProcessorChainBuilder Use(Func<ITelemetryProcessor, ITelemetryProcessor> telemetryProcessorFactory)
Uses given factory to add TelemetryProcessor to the chain of processors. The processors
in the chain will be invoked in the same order in which they are added.