Udostępnij za pośrednictwem


MultiplexedConnectionBuilder.Use Metoda

Definicja

Dodaje delegata oprogramowania pośredniczącego do potoku połączenia aplikacji.

public Microsoft.AspNetCore.Connections.IMultiplexedConnectionBuilder Use (Func<Microsoft.AspNetCore.Connections.MultiplexedConnectionDelegate,Microsoft.AspNetCore.Connections.MultiplexedConnectionDelegate> middleware);
abstract member Use : Func<Microsoft.AspNetCore.Connections.MultiplexedConnectionDelegate, Microsoft.AspNetCore.Connections.MultiplexedConnectionDelegate> -> Microsoft.AspNetCore.Connections.IMultiplexedConnectionBuilder
override this.Use : Func<Microsoft.AspNetCore.Connections.MultiplexedConnectionDelegate, Microsoft.AspNetCore.Connections.MultiplexedConnectionDelegate> -> Microsoft.AspNetCore.Connections.IMultiplexedConnectionBuilder
Public Function Use (middleware As Func(Of MultiplexedConnectionDelegate, MultiplexedConnectionDelegate)) As IMultiplexedConnectionBuilder

Parametry

middleware
Func<MultiplexedConnectionDelegate,MultiplexedConnectionDelegate>

Delegat oprogramowania pośredniczącego.

Zwraca

Element IMultiplexedConnectionBuilder.

Implementuje

Dotyczy