ComponentEndpointRouteBuilderExtensions.MapBlazorHub Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
MapBlazorHub(IEndpointRouteBuilder) |
Mapeia o Blazor Hub para o caminho padrão. |
MapBlazorHub(IEndpointRouteBuilder, Action<HttpConnectionDispatcherOptions>) |
Mapeia o Blazor Hub para o caminho padrão. |
MapBlazorHub(IEndpointRouteBuilder, String) |
Mapeia o Blazor Hub para o caminho |
MapBlazorHub(IEndpointRouteBuilder, String, Action<HttpConnectionDispatcherOptions>) |
Mapeia o Blazor Hub para o caminho |
MapBlazorHub(IEndpointRouteBuilder)
Mapeia o Blazor Hub para o caminho padrão.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::ComponentEndpointConventionBuilder ^ MapBlazorHub(Microsoft::AspNetCore::Routing::IEndpointRouteBuilder ^ endpoints);
public static Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder MapBlazorHub (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints);
static member MapBlazorHub : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder -> Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder
<Extension()>
Public Function MapBlazorHub (endpoints As IEndpointRouteBuilder) As ComponentEndpointConventionBuilder
Parâmetros
- endpoints
- IEndpointRouteBuilder
Retornos
O ComponentEndpointConventionBuilder.
Aplica-se a
MapBlazorHub(IEndpointRouteBuilder, Action<HttpConnectionDispatcherOptions>)
Mapeia o Blazor Hub para o caminho padrão.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::ComponentEndpointConventionBuilder ^ MapBlazorHub(Microsoft::AspNetCore::Routing::IEndpointRouteBuilder ^ endpoints, Action<Microsoft::AspNetCore::Http::Connections::HttpConnectionDispatcherOptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder MapBlazorHub (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, Action<Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions> configureOptions);
static member MapBlazorHub : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder * Action<Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions> -> Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder
<Extension()>
Public Function MapBlazorHub (endpoints As IEndpointRouteBuilder, configureOptions As Action(Of HttpConnectionDispatcherOptions)) As ComponentEndpointConventionBuilder
Parâmetros
- endpoints
- IEndpointRouteBuilder
- configureOptions
- Action<HttpConnectionDispatcherOptions>
Um retorno de chamada para configurar as opções do dispatcher.
Retornos
O ComponentEndpointConventionBuilder.
Aplica-se a
MapBlazorHub(IEndpointRouteBuilder, String)
Mapeia o Blazor Hub para o caminho path
.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::ComponentEndpointConventionBuilder ^ MapBlazorHub(Microsoft::AspNetCore::Routing::IEndpointRouteBuilder ^ endpoints, System::String ^ path);
public static Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder MapBlazorHub (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string path);
static member MapBlazorHub : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder * string -> Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder
<Extension()>
Public Function MapBlazorHub (endpoints As IEndpointRouteBuilder, path As String) As ComponentEndpointConventionBuilder
Parâmetros
- endpoints
- IEndpointRouteBuilder
Retornos
O ComponentEndpointConventionBuilder.
Aplica-se a
MapBlazorHub(IEndpointRouteBuilder, String, Action<HttpConnectionDispatcherOptions>)
Mapeia o Blazor Hub para o caminho path
.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::ComponentEndpointConventionBuilder ^ MapBlazorHub(Microsoft::AspNetCore::Routing::IEndpointRouteBuilder ^ endpoints, System::String ^ path, Action<Microsoft::AspNetCore::Http::Connections::HttpConnectionDispatcherOptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder MapBlazorHub (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string path, Action<Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions> configureOptions);
static member MapBlazorHub : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder * string * Action<Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions> -> Microsoft.AspNetCore.Builder.ComponentEndpointConventionBuilder
<Extension()>
Public Function MapBlazorHub (endpoints As IEndpointRouteBuilder, path As String, configureOptions As Action(Of HttpConnectionDispatcherOptions)) As ComponentEndpointConventionBuilder
Parâmetros
- endpoints
- IEndpointRouteBuilder
- configureOptions
- Action<HttpConnectionDispatcherOptions>
Um retorno de chamada para configurar as opções do dispatcher.
Retornos
O ComponentEndpointConventionBuilder.