ConnectionBuilderExtensions.UseConnectionHandler<TConnectionHandler> Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Usare l'oggetto specificato 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
Parametri di tipo
- TConnectionHandler
Oggetto Type dell'oggetto ConnectionHandler.
Parametri
- connectionBuilder
- IConnectionBuilder
Oggetto IConnectionBuilder.
Restituisce
Oggetto IConnectionBuilder.