Partilhar via


ConnectionEndpointRouteBuilderExtensions.MapConnections Método

Definição

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>)

Origem:
ConnectionEndpointRouteBuilderExtensions.cs

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>)

Origem:
ConnectionEndpointRouteBuilderExtensions.cs

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.

Aplica-se a