共用方式為


ConfidentialClientApplicationBuilder.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.ConfidentialClientApplicationBuilder 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.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

Attributes

Applies to