Bagikan melalui


IMultiplexedConnectionBuilder.Use Metode

Definisi

Menambahkan delegasi middleware ke alur koneksi aplikasi.

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
Public Function Use (middleware As Func(Of MultiplexedConnectionDelegate, MultiplexedConnectionDelegate)) As IMultiplexedConnectionBuilder

Parameter

Mengembalikan

IMultiplexedConnectionBuilder.

Berlaku untuk