次の方法で共有


SignalRDependencyInjectionExtensions.AddSignalR メソッド

定義

指定した に SignalR サービスを追加します IServiceCollection

public static Microsoft.AspNetCore.SignalR.ISignalRServerBuilder AddSignalR (this Microsoft.Extensions.DependencyInjection.IServiceCollection services, Action<Microsoft.AspNetCore.SignalR.HubOptions> configure);
static member AddSignalR : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.AspNetCore.SignalR.HubOptions> -> Microsoft.AspNetCore.SignalR.ISignalRServerBuilder
<Extension()>
Public Function AddSignalR (services As IServiceCollection, configure As Action(Of HubOptions)) As ISignalRServerBuilder

適用対象