共用方式為


HubRouteBuilder(ConnectionsRouteBuilder) 建構函式

定義

初始化 HubRouteBuilder 類別的新執行個體。

public:
 HubRouteBuilder(Microsoft::AspNetCore::Http::Connections::ConnectionsRouteBuilder ^ routes);
public HubRouteBuilder (Microsoft.AspNetCore.Http.Connections.ConnectionsRouteBuilder routes);
new Microsoft.AspNetCore.SignalR.HubRouteBuilder : Microsoft.AspNetCore.Http.Connections.ConnectionsRouteBuilder -> Microsoft.AspNetCore.SignalR.HubRouteBuilder
Public Sub New (routes As ConnectionsRouteBuilder)

參數

routes
ConnectionsRouteBuilder

路由產生器。

適用於