Partilhar via


MultiplexedConnectionBuilder.Use Método

Definição

Adiciona um delegado de middleware ao pipeline de conexão do aplicativo.

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

Parâmetros

middleware
Func<MultiplexedConnectionDelegate,MultiplexedConnectionDelegate>

O delegado do middleware.

Retornos

O IMultiplexedConnectionBuilder.

Implementações

Aplica-se a