ConnectionEndpointRouteBuilderExtensions.MapConnections 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
MapConnections(IEndpointRouteBuilder, String, Action<IConnectionBuilder>) |
Mappe les requêtes entrantes avec le chemin spécifié au pipeline de connexion fourni. |
MapConnections(IEndpointRouteBuilder, String, HttpConnectionDispatcherOptions, Action<IConnectionBuilder>) |
Mappe les requêtes entrantes avec le chemin spécifié au pipeline de connexion fourni. |
MapConnections(IEndpointRouteBuilder, String, Action<IConnectionBuilder>)
Mappe les requêtes entrantes avec le chemin spécifié au pipeline de connexion fourni.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::ConnectionEndpointRouteBuilder ^ MapConnections(Microsoft::AspNetCore::Routing::IEndpointRouteBuilder ^ endpoints, System::String ^ pattern, Action<Microsoft::AspNetCore::Connections::IConnectionBuilder ^> ^ configure);
public static Microsoft.AspNetCore.Builder.ConnectionEndpointRouteBuilder MapConnections (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, Action<Microsoft.AspNetCore.Connections.IConnectionBuilder> configure);
static member MapConnections : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder * string * Action<Microsoft.AspNetCore.Connections.IConnectionBuilder> -> Microsoft.AspNetCore.Builder.ConnectionEndpointRouteBuilder
<Extension()>
Public Function MapConnections (endpoints As IEndpointRouteBuilder, pattern As String, configure As Action(Of IConnectionBuilder)) As ConnectionEndpointRouteBuilder
Paramètres
- endpoints
- IEndpointRouteBuilder
IEndpointRouteBuilder à laquelle ajouter l’itinéraire.
- pattern
- String
Modèle d’itinéraire.
- configure
- Action<IConnectionBuilder>
Rappel pour configurer la connexion.
Retours
ConnectionEndpointRouteBuilder pour les points de terminaison associés aux connexions.
S’applique à
MapConnections(IEndpointRouteBuilder, String, HttpConnectionDispatcherOptions, Action<IConnectionBuilder>)
Mappe les requêtes entrantes avec le chemin spécifié au pipeline de connexion fourni.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::ConnectionEndpointRouteBuilder ^ MapConnections(Microsoft::AspNetCore::Routing::IEndpointRouteBuilder ^ endpoints, System::String ^ pattern, Microsoft::AspNetCore::Http::Connections::HttpConnectionDispatcherOptions ^ options, Action<Microsoft::AspNetCore::Connections::IConnectionBuilder ^> ^ configure);
public static Microsoft.AspNetCore.Builder.ConnectionEndpointRouteBuilder MapConnections (this Microsoft.AspNetCore.Routing.IEndpointRouteBuilder endpoints, string pattern, Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions options, Action<Microsoft.AspNetCore.Connections.IConnectionBuilder> configure);
static member MapConnections : Microsoft.AspNetCore.Routing.IEndpointRouteBuilder * string * Microsoft.AspNetCore.Http.Connections.HttpConnectionDispatcherOptions * Action<Microsoft.AspNetCore.Connections.IConnectionBuilder> -> Microsoft.AspNetCore.Builder.ConnectionEndpointRouteBuilder
<Extension()>
Public Function MapConnections (endpoints As IEndpointRouteBuilder, pattern As String, options As HttpConnectionDispatcherOptions, configure As Action(Of IConnectionBuilder)) As ConnectionEndpointRouteBuilder
Paramètres
- endpoints
- IEndpointRouteBuilder
IEndpointRouteBuilder à laquelle ajouter l’itinéraire.
- pattern
- String
Modèle d’itinéraire.
- options
- HttpConnectionDispatcherOptions
Options utilisées pour configurer la connexion.
- configure
- Action<IConnectionBuilder>
Rappel pour configurer la connexion.
Retours
ConnectionEndpointRouteBuilder pour les points de terminaison associés aux connexions.