共用方式為


TelemetryProcessorChainBuilder.Use Method

Definition

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