次の方法で共有


OpenTelemetryHostedFileClient(IHostedFileClient, ILogger, String) コンストラクター

定義

OpenTelemetryHostedFileClient クラスの新しいインスタンスを初期化します。

public OpenTelemetryHostedFileClient(Microsoft.Extensions.AI.IHostedFileClient innerClient, Microsoft.Extensions.Logging.ILogger? logger = default, string? sourceName = default);
new Microsoft.Extensions.AI.OpenTelemetryHostedFileClient : Microsoft.Extensions.AI.IHostedFileClient * Microsoft.Extensions.Logging.ILogger * string -> Microsoft.Extensions.AI.OpenTelemetryHostedFileClient
Public Sub New (innerClient As IHostedFileClient, Optional logger As ILogger = Nothing, Optional sourceName As String = Nothing)

パラメーター

innerClient
IHostedFileClient

基になる IHostedFileClient

logger
ILogger

クライアントからログ データを出力するために使用する ILogger

sourceName
String

テレメトリ データで使用されるオプションのソース名。

適用対象