ConnectionEndpointRouteBuilderExtensions.MapConnections Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
MapConnections(IEndpointRouteBuilder, String, Action<IConnectionBuilder>) |
Mapeia solicitações de entrada com o caminho especificado para o pipeline de conexão fornecido. |
MapConnections(IEndpointRouteBuilder, String, HttpConnectionDispatcherOptions, Action<IConnectionBuilder>) |
Mapeia solicitações de entrada com o caminho especificado para o pipeline de conexão fornecido. |
MapConnections(IEndpointRouteBuilder, String, Action<IConnectionBuilder>)
Mapeia solicitações de entrada com o caminho especificado para o pipeline de conexão fornecido.
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
O IEndpointRouteBuilder ao qual adicionar a rota.
- pattern
- String
O padrão de rota.
- configure
- Action<IConnectionBuilder>
Um retorno de chamada para configurar a conexão.
Retornos
Um ConnectionEndpointRouteBuilder para pontos de extremidade associados às conexões.
Aplica-se a
MapConnections(IEndpointRouteBuilder, String, HttpConnectionDispatcherOptions, Action<IConnectionBuilder>)
Mapeia solicitações de entrada com o caminho especificado para o pipeline de conexão fornecido.
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
O IEndpointRouteBuilder ao qual adicionar a rota.
- pattern
- String
O padrão de rota.
- options
- HttpConnectionDispatcherOptions
Opções usadas para configurar a conexão.
- configure
- Action<IConnectionBuilder>
Um retorno de chamada para configurar a conexão.
Retornos
Um ConnectionEndpointRouteBuilder para pontos de extremidade associados às conexões.