次の方法で共有


ConnectionEndpointRouteBuilderExtensions.MapConnections メソッド

定義

オーバーロード

MapConnections(IEndpointRouteBuilder, String, Action<IConnectionBuilder>)

指定したパスを持つ受信要求を、指定された接続パイプラインにマップします。

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

指定したパスを持つ受信要求を、指定された接続パイプラインにマップします。

MapConnections(IEndpointRouteBuilder, String, Action<IConnectionBuilder>)

ソース:
ConnectionEndpointRouteBuilderExtensions.cs

指定したパスを持つ受信要求を、指定された接続パイプラインにマップします。

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

パラメーター

endpoints
IEndpointRouteBuilder

IEndpointRouteBuilderルートを追加する 。

pattern
String

ルート パターン。

configure
Action<IConnectionBuilder>

接続を構成するためのコールバック。

戻り値

ConnectionEndpointRouteBuilder接続に関連付けられているエンドポイントの 。

適用対象

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

ソース:
ConnectionEndpointRouteBuilderExtensions.cs

指定したパスを持つ受信要求を、指定された接続パイプラインにマップします。

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

パラメーター

endpoints
IEndpointRouteBuilder

IEndpointRouteBuilderルートを追加する 。

pattern
String

ルート パターン。

options
HttpConnectionDispatcherOptions

接続の構成に使用するオプション。

configure
Action<IConnectionBuilder>

接続を構成するためのコールバック。

戻り値

ConnectionEndpointRouteBuilder接続に関連付けられているエンドポイントの 。

適用対象