ConnectionEndpointRouteBuilderExtensions.MapConnections Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
MapConnections(IEndpointRouteBuilder, String, Action<IConnectionBuilder>) |
Memetakan permintaan masuk dengan jalur yang ditentukan ke alur koneksi yang disediakan. |
MapConnections(IEndpointRouteBuilder, String, HttpConnectionDispatcherOptions, Action<IConnectionBuilder>) |
Memetakan permintaan masuk dengan jalur yang ditentukan ke alur koneksi yang disediakan. |
MapConnections(IEndpointRouteBuilder, String, Action<IConnectionBuilder>)
Memetakan permintaan masuk dengan jalur yang ditentukan ke alur koneksi yang disediakan.
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
untuk IEndpointRouteBuilder menambahkan rute.
- pattern
- String
Pola rute.
- configure
- Action<IConnectionBuilder>
Panggilan balik untuk mengonfigurasi koneksi.
Mengembalikan
ConnectionEndpointRouteBuilder untuk titik akhir yang terkait dengan koneksi.
Berlaku untuk
MapConnections(IEndpointRouteBuilder, String, HttpConnectionDispatcherOptions, Action<IConnectionBuilder>)
Memetakan permintaan masuk dengan jalur yang ditentukan ke alur koneksi yang disediakan.
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
untuk IEndpointRouteBuilder menambahkan rute.
- pattern
- String
Pola rute.
- options
- HttpConnectionDispatcherOptions
Opsi yang digunakan untuk mengonfigurasi koneksi.
- configure
- Action<IConnectionBuilder>
Panggilan balik untuk mengonfigurasi koneksi.
Mengembalikan
ConnectionEndpointRouteBuilder untuk titik akhir yang terkait dengan koneksi.