Sdílet prostřednictvím


ConnectionEndpointRouteBuilderExtensions.MapConnections Metoda

Definice

Přetížení

MapConnections(IEndpointRouteBuilder, String, Action<IConnectionBuilder>)

Namapuje příchozí požadavky na zadanou cestu k zadanému kanálu připojení.

MapConnections(IEndpointRouteBuilder, String, HttpConnectionDispatcherOptions, Action<IConnectionBuilder>)

Namapuje příchozí požadavky na zadanou cestu k zadanému kanálu připojení.

MapConnections(IEndpointRouteBuilder, String, Action<IConnectionBuilder>)

Zdroj:
ConnectionEndpointRouteBuilderExtensions.cs

Namapuje příchozí požadavky na zadanou cestu k zadanému kanálu připojení.

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

Parametry

endpoints
IEndpointRouteBuilder

Chcete-li IEndpointRouteBuilder přidat trasu do.

pattern
String

Vzor trasy.

configure
Action<IConnectionBuilder>

Zpětné volání pro konfiguraci připojení.

Návraty

Pro ConnectionEndpointRouteBuilder koncové body přidružené k připojením.

Platí pro

MapConnections(IEndpointRouteBuilder, String, HttpConnectionDispatcherOptions, Action<IConnectionBuilder>)

Zdroj:
ConnectionEndpointRouteBuilderExtensions.cs

Namapuje příchozí požadavky na zadanou cestu k zadanému kanálu připojení.

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

Parametry

endpoints
IEndpointRouteBuilder

Chcete-li IEndpointRouteBuilder přidat trasu do.

pattern
String

Vzor trasy.

options
HttpConnectionDispatcherOptions

Možnosti použité ke konfiguraci připojení

configure
Action<IConnectionBuilder>

Zpětné volání pro konfiguraci připojení.

Návraty

Pro ConnectionEndpointRouteBuilder koncové body přidružené k připojením.

Platí pro