Share via


ManagedIdentityApplicationBuilder.WithTelemetryClient Method

Definition

Caution

Telemetry is sent automatically by MSAL.NET. See https://aka.ms/msal-net-telemetry.

This method is obsolete. See https://aka.ms/msal-net-telemetry

[System.Obsolete("Telemetry is sent automatically by MSAL.NET. See https://aka.ms/msal-net-telemetry.", true)]
public Microsoft.Identity.Client.ManagedIdentityApplicationBuilder WithTelemetryClient (params Microsoft.IdentityModel.Abstractions.ITelemetryClient[] telemetryClients);
[<System.Obsolete("Telemetry is sent automatically by MSAL.NET. See https://aka.ms/msal-net-telemetry.", true)>]
member this.WithTelemetryClient : Microsoft.IdentityModel.Abstractions.ITelemetryClient[] -> Microsoft.Identity.Client.ManagedIdentityApplicationBuilder
Public Function WithTelemetryClient (ParamArray telemetryClients As ITelemetryClient()) As ManagedIdentityApplicationBuilder

Parameters

telemetryClients
ITelemetryClient[]

List of telemetry clients to add telemetry logs.

Returns

The builder to chain the .With methods

Attributes

Applies to