ConnectionEndpointRouteBuilderExtensions.MapConnections 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
MapConnections(IEndpointRouteBuilder, String, Action<IConnectionBuilder>) |
Asigna las solicitudes entrantes con la ruta de acceso especificada a la canalización de conexión proporcionada. |
MapConnections(IEndpointRouteBuilder, String, HttpConnectionDispatcherOptions, Action<IConnectionBuilder>) |
Asigna las solicitudes entrantes con la ruta de acceso especificada a la canalización de conexión proporcionada. |
MapConnections(IEndpointRouteBuilder, String, Action<IConnectionBuilder>)
Asigna las solicitudes entrantes con la ruta de acceso especificada a la canalización de conexión proporcionada.
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
Parámetros
- endpoints
- IEndpointRouteBuilder
IEndpointRouteBuilder al que se va a agregar la ruta.
- pattern
- String
Patrón de ruta.
- configure
- Action<IConnectionBuilder>
Devolución de llamada para configurar la conexión.
Devoluciones
para ConnectionEndpointRouteBuilder los puntos de conexión asociados a las conexiones.
Se aplica a
MapConnections(IEndpointRouteBuilder, String, HttpConnectionDispatcherOptions, Action<IConnectionBuilder>)
Asigna las solicitudes entrantes con la ruta de acceso especificada a la canalización de conexión proporcionada.
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
Parámetros
- endpoints
- IEndpointRouteBuilder
IEndpointRouteBuilder al que se va a agregar la ruta.
- pattern
- String
Patrón de ruta.
- options
- HttpConnectionDispatcherOptions
Opciones usadas para configurar la conexión.
- configure
- Action<IConnectionBuilder>
Devolución de llamada para configurar la conexión.
Devoluciones
para ConnectionEndpointRouteBuilder los puntos de conexión asociados a las conexiones.