共用方式為


HttpConnectionFactory 建構函式

定義

初始化 HttpConnectionFactory 類別的新執行個體。

public:
 HttpConnectionFactory(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Http::Connections::Client::HttpConnectionOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public HttpConnectionFactory (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.SignalR.Client.HttpConnectionFactory : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.SignalR.Client.HttpConnectionFactory
Public Sub New (options As IOptions(Of HttpConnectionOptions), loggerFactory As ILoggerFactory)

參數

options
IOptions<HttpConnectionOptions>

連線選項。

loggerFactory
ILoggerFactory

記錄器工廠。

適用於