ConnectionsRouteBuilder Kelas

Definisi

Perhatian

This class is obsolete and will be removed in a future version. The recommended alternative is to use MapConnection and MapConnectionHandler<TConnectionHandler> inside Microsoft.AspNetCore.Builder.UseEndpoints(...).

Memetakan rute ke ASP.NET Penghandel Koneksi Inti.

Kelas ini kedaluarsa dan akan dihapus dalam versi mendatang. Alternatif yang disarankan adalah menggunakan MapConnection dan MapConnectionHandler<TConnectionHandler> di dalam Microsoft.AspNetCore.Builder.UseEndpoints(...).

public ref class ConnectionsRouteBuilder
public class ConnectionsRouteBuilder
[System.Obsolete("This class is obsolete and will be removed in a future version. The recommended alternative is to use MapConnection and MapConnectionHandler<TConnectionHandler> inside Microsoft.AspNetCore.Builder.UseEndpoints(...).")]
public class ConnectionsRouteBuilder
type ConnectionsRouteBuilder = class
[<System.Obsolete("This class is obsolete and will be removed in a future version. The recommended alternative is to use MapConnection and MapConnectionHandler<TConnectionHandler> inside Microsoft.AspNetCore.Builder.UseEndpoints(...).")>]
type ConnectionsRouteBuilder = class
Public Class ConnectionsRouteBuilder
Warisan
ConnectionsRouteBuilder
Atribut

Metode

MapConnectionHandler<TConnectionHandler>(PathString, Action<HttpConnectionDispatcherOptions>)
Kedaluwarsa.

Memetakan permintaan masuk dengan jalur yang ditentukan ke alur koneksi yang disediakan.

MapConnectionHandler<TConnectionHandler>(PathString)
Kedaluwarsa.

Memetakan permintaan masuk dengan jalur yang ditentukan ke alur koneksi yang disediakan.

MapConnections(PathString, Action<IConnectionBuilder>)
Kedaluwarsa.

Memetakan permintaan masuk dengan jalur yang ditentukan ke alur koneksi yang disediakan.

MapConnections(PathString, HttpConnectionDispatcherOptions, Action<IConnectionBuilder>)
Kedaluwarsa.

Memetakan permintaan masuk dengan jalur yang ditentukan ke alur koneksi yang disediakan.

Berlaku untuk