次の方法で共有


ConnectionBuilderExtensions.UseConnectionHandler<TConnectionHandler> メソッド

定義

指定 TConnectionHandlerConnectionHandlerした を使用します。

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

型パラメーター

TConnectionHandler

ConnectionHandlerType

パラメーター

connectionBuilder
IConnectionBuilder

IConnectionBuilder

戻り値

IConnectionBuilder

適用対象