ConnectionEndpointRouteBuilderExtensions.MapConnections Yöntem

Tanım

Aşırı Yüklemeler

MapConnections(IEndpointRouteBuilder, String, Action<IConnectionBuilder>)

Belirtilen yolla gelen istekleri sağlanan bağlantı işlem hattına eşler.

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

Belirtilen yolla gelen istekleri sağlanan bağlantı işlem hattına eşler.

MapConnections(IEndpointRouteBuilder, String, Action<IConnectionBuilder>)

Kaynak:
ConnectionEndpointRouteBuilderExtensions.cs

Belirtilen yolla gelen istekleri sağlanan bağlantı işlem hattına eşler.

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

Parametreler

endpoints
IEndpointRouteBuilder

IEndpointRouteBuilder yolu eklenecek.

pattern
String

Yol deseni.

configure
Action<IConnectionBuilder>

Bağlantıyı yapılandırmak için bir geri çağırma.

Döndürülenler

ConnectionEndpointRouteBuilder Bağlantılarla ilişkili uç noktalar için.

Şunlara uygulanır

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

Kaynak:
ConnectionEndpointRouteBuilderExtensions.cs

Belirtilen yolla gelen istekleri sağlanan bağlantı işlem hattına eşler.

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

Parametreler

endpoints
IEndpointRouteBuilder

IEndpointRouteBuilder yolu eklenecek.

pattern
String

Yol deseni.

options
HttpConnectionDispatcherOptions

Bağlantıyı yapılandırmak için kullanılan seçenekler.

configure
Action<IConnectionBuilder>

Bağlantıyı yapılandırmak için bir geri çağırma.

Döndürülenler

ConnectionEndpointRouteBuilder Bağlantılarla ilişkili uç noktalar için.

Şunlara uygulanır