ComponentEndpointRouteBuilderExtensions.MapBlazorHub Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
MapBlazorHub(IEndpointRouteBuilder) |
Mappe le Blazor Hub au chemin d’accès par défaut. |
MapBlazorHub(IEndpointRouteBuilder, Action<HttpConnectionDispatcherOptions>) |
Mappe le Blazor Hub au chemin d’accès par défaut. |
MapBlazorHub(IEndpointRouteBuilder, String) |
Mappe le Blazor Hub au chemin d’accès |
MapBlazorHub(IEndpointRouteBuilder, String, Action<HttpConnectionDispatcherOptions>) |
Mappe le Blazor Hub au chemin d’accès |
MapBlazorHub(IEndpointRouteBuilder)
Mappe le Blazor Hub au chemin d’accès par défaut.
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
Paramètres
- endpoints
- IEndpointRouteBuilder
L’IEndpointRouteBuilderopérateur
Retours
L’ComponentEndpointConventionBuilderopérateur
S’applique à
MapBlazorHub(IEndpointRouteBuilder, Action<HttpConnectionDispatcherOptions>)
Mappe le Blazor Hub au chemin d’accès par défaut.
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
Paramètres
- endpoints
- IEndpointRouteBuilder
L’IEndpointRouteBuilderopérateur
- configureOptions
- Action<HttpConnectionDispatcherOptions>
Rappel pour configurer les options de répartiteur.
Retours
L’ComponentEndpointConventionBuilderopérateur
S’applique à
MapBlazorHub(IEndpointRouteBuilder, String)
Mappe le Blazor Hub au chemin d’accès 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
Paramètres
- endpoints
- IEndpointRouteBuilder
L’IEndpointRouteBuilderopérateur
Retours
L’ComponentEndpointConventionBuilderopérateur
S’applique à
MapBlazorHub(IEndpointRouteBuilder, String, Action<HttpConnectionDispatcherOptions>)
Mappe le Blazor Hub au chemin d’accès 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
Paramètres
- endpoints
- IEndpointRouteBuilder
L’IEndpointRouteBuilderopérateur
- configureOptions
- Action<HttpConnectionDispatcherOptions>
Rappel pour configurer les options de répartiteur.
Retours
L’ComponentEndpointConventionBuilderopérateur