次の方法で共有


HubConnectionBuilderExtensions.ConfigureLogging メソッド

定義

指定された ILoggingBuilder を構成するためのデリゲートを追加します。 これは複数回呼び出すことができます。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ ConfigureLogging(Microsoft::AspNetCore::SignalR::Client::IHubConnectionBuilder ^ hubConnectionBuilder, Action<Microsoft::Extensions::Logging::ILoggingBuilder ^> ^ configureLogging);
public static Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder ConfigureLogging (this Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder hubConnectionBuilder, Action<Microsoft.Extensions.Logging.ILoggingBuilder> configureLogging);
static member ConfigureLogging : Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder * Action<Microsoft.Extensions.Logging.ILoggingBuilder> -> Microsoft.AspNetCore.SignalR.Client.IHubConnectionBuilder
<Extension()>
Public Function ConfigureLogging (hubConnectionBuilder As IHubConnectionBuilder, configureLogging As Action(Of ILoggingBuilder)) As IHubConnectionBuilder

パラメーター

hubConnectionBuilder
IHubConnectionBuilder

構成する IHubConnectionBuilder

configureLogging
Action<ILoggingBuilder>

ILoggingBuilderを構成するデリゲート。

戻り値

チェーン用の IHubConnectionBuilder の同じインスタンス。

適用対象