ComponentEndpointRouteBuilderExtensions.MapBlazorHub Método

Definición

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 path.

MapBlazorHub(IEndpointRouteBuilder, String, Action<HttpConnectionDispatcherOptions>)

Asigna Blazor Hub a la ruta de acceso path.

MapBlazorHub(IEndpointRouteBuilder)

Source:
ComponentEndpointRouteBuilderExtensions.cs

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

Devoluciones

ComponentEndpointConventionBuilder.

Se aplica a

MapBlazorHub(IEndpointRouteBuilder, Action<HttpConnectionDispatcherOptions>)

Source:
ComponentEndpointRouteBuilderExtensions.cs

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

configureOptions
Action<HttpConnectionDispatcherOptions>

Devolución de llamada para configurar las opciones del distribuidor.

Devoluciones

ComponentEndpointConventionBuilder.

Se aplica a

MapBlazorHub(IEndpointRouteBuilder, String)

Source:
ComponentEndpointRouteBuilderExtensions.cs

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

path
String

Ruta de acceso que se va a asignar a Blazor Hub.

Devoluciones

ComponentEndpointConventionBuilder.

Se aplica a

MapBlazorHub(IEndpointRouteBuilder, String, Action<HttpConnectionDispatcherOptions>)

Source:
ComponentEndpointRouteBuilderExtensions.cs

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

path
String

Ruta de acceso que se va a asignar a Blazor Hub.

configureOptions
Action<HttpConnectionDispatcherOptions>

Devolución de llamada para configurar las opciones del distribuidor.

Devoluciones

ComponentEndpointConventionBuilder.

Se aplica a