ConfidentialClientApplicationBuilder.WithTelemetryClient Method

Definition

Sets telemetry client for the application.

public Microsoft.Identity.Client.ConfidentialClientApplicationBuilder WithTelemetryClient (params Microsoft.IdentityModel.Abstractions.ITelemetryClient[] telemetryClients);
member this.WithTelemetryClient : Microsoft.IdentityModel.Abstractions.ITelemetryClient[] -> Microsoft.Identity.Client.ConfidentialClientApplicationBuilder
Public Function WithTelemetryClient (ParamArray telemetryClients As ITelemetryClient()) As ConfidentialClientApplicationBuilder

Parameters

telemetryClients
ITelemetryClient[]

List of telemetry clients to add telemetry logs.

Returns

The builder to chain the .With methods

Applies to