TelemetryProcessorChainBuilder.Use Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public Microsoft.ApplicationInsights.Extensibility.Implementation.TelemetryProcessorChainBuilder Use (Func<Microsoft.ApplicationInsights.Extensibility.ITelemetryProcessor,Microsoft.ApplicationInsights.Extensibility.ITelemetryProcessor> telemetryProcessorFactory);
member this.Use : Func<Microsoft.ApplicationInsights.Extensibility.ITelemetryProcessor, Microsoft.ApplicationInsights.Extensibility.ITelemetryProcessor> -> Microsoft.ApplicationInsights.Extensibility.Implementation.TelemetryProcessorChainBuilder
Public Function Use (telemetryProcessorFactory As Func(Of ITelemetryProcessor, ITelemetryProcessor)) As TelemetryProcessorChainBuilder
Parameters
- telemetryProcessorFactory
- Func<ITelemetryProcessor,ITelemetryProcessor>
A delegate that returns a ITelemetryProcessor , given the next ITelemetryProcessor in the call chain.
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET