ComponentEndpointRouteBuilderExtensions.MapBlazorHub Método
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Sobrecargas
MapBlazorHub(IEndpointRouteBuilder) |
Asigna Blazor Hub a la ruta de acceso predeterminada. |
MapBlazorHub(IEndpointRouteBuilder, Action<HttpConnectionDispatcherOptions>) |
Asigna Blazor Hub a la ruta de acceso predeterminada. |
MapBlazorHub(IEndpointRouteBuilder, String) |
Asigna Blazor Hub a la ruta de acceso |
MapBlazorHub(IEndpointRouteBuilder, String, Action<HttpConnectionDispatcherOptions>) |
Asigna Blazor Hub a la ruta de acceso |
MapBlazorHub(IEndpointRouteBuilder)
Asigna Blazor Hub a la ruta de acceso predeterminada.
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
Devoluciones
ComponentEndpointConventionBuilder.
Se aplica a
MapBlazorHub(IEndpointRouteBuilder, Action<HttpConnectionDispatcherOptions>)
Asigna Blazor Hub a la ruta de acceso predeterminada.
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>
Devolución de llamada para configurar las opciones del distribuidor.
Devoluciones
ComponentEndpointConventionBuilder.
Se aplica a
MapBlazorHub(IEndpointRouteBuilder, String)
Asigna Blazor Hub a la ruta de acceso 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
Devoluciones
ComponentEndpointConventionBuilder.
Se aplica a
MapBlazorHub(IEndpointRouteBuilder, String, Action<HttpConnectionDispatcherOptions>)
Asigna Blazor Hub a la ruta de acceso 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>
Devolución de llamada para configurar las opciones del distribuidor.
Devoluciones
ComponentEndpointConventionBuilder.