Freigeben über


IMultiplexedConnectionBuilder.Use Methode

Definition

Fügt der Verbindungspipeline der Anwendung einen Middlewaredelegat hinzu.

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

Gibt zurück

Die IMultiplexedConnectionBuilder.

Gilt für: