Freigeben über


ConnectionEndpointRouteBuilderExtensions.MapConnections Methode

Definition

Überlädt

MapConnections(IEndpointRouteBuilder, String, Action<IConnectionBuilder>)

Ordnet eingehende Anforderungen mit dem angegebenen Pfad der bereitgestellten Verbindungspipeline zu.

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

Ordnet eingehende Anforderungen mit dem angegebenen Pfad der bereitgestellten Verbindungspipeline zu.

MapConnections(IEndpointRouteBuilder, String, Action<IConnectionBuilder>)

Quelle:
ConnectionEndpointRouteBuilderExtensions.cs

Ordnet eingehende Anforderungen mit dem angegebenen Pfad der bereitgestellten Verbindungspipeline zu.

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

Parameter

endpoints
IEndpointRouteBuilder

Die , IEndpointRouteBuilder der die Route hinzugefügt werden soll.

pattern
String

Das Routenmuster.

configure
Action<IConnectionBuilder>

Ein Rückruf zum Konfigurieren der Verbindung.

Gibt zurück

Ein ConnectionEndpointRouteBuilder für Endpunkte, die den Verbindungen zugeordnet sind.

Gilt für:

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

Quelle:
ConnectionEndpointRouteBuilderExtensions.cs

Ordnet eingehende Anforderungen mit dem angegebenen Pfad der bereitgestellten Verbindungspipeline zu.

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

Parameter

endpoints
IEndpointRouteBuilder

Die , IEndpointRouteBuilder der die Route hinzugefügt werden soll.

pattern
String

Das Routenmuster.

options
HttpConnectionDispatcherOptions

Optionen, die zum Konfigurieren der Verbindung verwendet werden.

configure
Action<IConnectionBuilder>

Ein Rückruf zum Konfigurieren der Verbindung.

Gibt zurück

Ein ConnectionEndpointRouteBuilder für Endpunkte, die den Verbindungen zugeordnet sind.

Gilt für: