ConnectionBuilderExtensions.UseConnectionHandler<TConnectionHandler> Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Utilisez le donné TConnectionHandler
ConnectionHandler.
public:
generic <typename TConnectionHandler>
where TConnectionHandler : Microsoft::AspNetCore::Connections::ConnectionHandler[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Connections::IConnectionBuilder ^ UseConnectionHandler(Microsoft::AspNetCore::Connections::IConnectionBuilder ^ connectionBuilder);
public static Microsoft.AspNetCore.Connections.IConnectionBuilder UseConnectionHandler<TConnectionHandler> (this Microsoft.AspNetCore.Connections.IConnectionBuilder connectionBuilder) where TConnectionHandler : Microsoft.AspNetCore.Connections.ConnectionHandler;
static member UseConnectionHandler : Microsoft.AspNetCore.Connections.IConnectionBuilder -> Microsoft.AspNetCore.Connections.IConnectionBuilder (requires 'ConnectionHandler :> Microsoft.AspNetCore.Connections.ConnectionHandler)
<Extension()>
Public Function UseConnectionHandler(Of TConnectionHandler As ConnectionHandler) (connectionBuilder As IConnectionBuilder) As IConnectionBuilder
Paramètres de type
- TConnectionHandler
Paramètres
- connectionBuilder
- IConnectionBuilder
L’IConnectionBuilderopérateur
Retours
L’IConnectionBuilderopérateur