HttpConnectionFactory Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the HttpConnectionFactory class.
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.Http.Connections.Client.HttpConnectionFactory : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionFactory
Public Sub New (options As IOptions(Of HttpConnectionOptions), loggerFactory As ILoggerFactory)
Parameters
- options
- IOptions<HttpConnectionOptions>
The connection options.
- loggerFactory
- ILoggerFactory
The logger factory.