你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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