ComponentEndpointRouteBuilderExtensions.MapBlazorHub Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
MapBlazorHub(IEndpointRouteBuilder) |
Esegue il mapping di Blazor Hub al percorso predefinito. |
MapBlazorHub(IEndpointRouteBuilder, Action<HttpConnectionDispatcherOptions>) |
Esegue il mapping di Blazor Hub al percorso predefinito. |
MapBlazorHub(IEndpointRouteBuilder, String) |
Esegue il mapping di Blazor Hub al percorso |
MapBlazorHub(IEndpointRouteBuilder, String, Action<HttpConnectionDispatcherOptions>) |
Esegue il mapping di Blazor Hub al percorso |
MapBlazorHub(IEndpointRouteBuilder)
Esegue il mapping di Blazor Hub al percorso predefinito.
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
Parametri
- endpoints
- IEndpointRouteBuilder
Oggetto IEndpointRouteBuilder.
Restituisce
Oggetto ComponentEndpointConventionBuilder.
Si applica a
MapBlazorHub(IEndpointRouteBuilder, Action<HttpConnectionDispatcherOptions>)
Esegue il mapping di Blazor Hub al percorso predefinito.
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
Parametri
- endpoints
- IEndpointRouteBuilder
Oggetto IEndpointRouteBuilder.
- configureOptions
- Action<HttpConnectionDispatcherOptions>
Callback per configurare le opzioni del dispatcher.
Restituisce
Oggetto ComponentEndpointConventionBuilder.
Si applica a
MapBlazorHub(IEndpointRouteBuilder, String)
Esegue il mapping di Blazor Hub al percorso 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
Parametri
- endpoints
- IEndpointRouteBuilder
Oggetto IEndpointRouteBuilder.
Restituisce
Oggetto ComponentEndpointConventionBuilder.
Si applica a
MapBlazorHub(IEndpointRouteBuilder, String, Action<HttpConnectionDispatcherOptions>)
Esegue il mapping di Blazor Hub al percorso 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
Parametri
- endpoints
- IEndpointRouteBuilder
Oggetto IEndpointRouteBuilder.
- configureOptions
- Action<HttpConnectionDispatcherOptions>
Callback per configurare le opzioni del dispatcher.
Restituisce
Oggetto ComponentEndpointConventionBuilder.