Aracılığıyla paylaş


ConnectionsRouteBuilder Sınıf

Tanım

Dikkat

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(...).

Yolları ASP.NET Core Bağlantı İşleyicilerine eşler.

Bu sınıf eski ve gelecekteki bir sürümde kaldırılacak. Önerilen alternatif, Microsoft.AspNetCore.Builder.UseEndpoints(...) içinde MapConnection ve MapConnectionHandler<TConnectionHandler> kullanmaktır.

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
Devralma
ConnectionsRouteBuilder
Öznitelikler

Yöntemler

MapConnectionHandler<TConnectionHandler>(PathString)
Geçersiz.

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

MapConnectionHandler<TConnectionHandler>(PathString, Action<HttpConnectionDispatcherOptions>)
Geçersiz.

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

MapConnections(PathString, Action<IConnectionBuilder>)
Geçersiz.

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

MapConnections(PathString, HttpConnectionDispatcherOptions, Action<IConnectionBuilder>)
Geçersiz.

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

Şunlara uygulanır