Поделиться через


SocketTransportFactory Конструкторы

Определение

Перегрузки

SocketTransportFactory(IOptions<SocketTransportOptions>, ILoggerFactory)

Инициализирует новый экземпляр класса SocketTransportFactory.

SocketTransportFactory(IOptions<SocketTransportOptions>, IApplicationLifetime, ILoggerFactory)

SocketTransportFactory(IOptions<SocketTransportOptions>, ILoggerFactory)

Исходный код:
SocketTransportFactory.cs

Инициализирует новый экземпляр класса SocketTransportFactory.

public:
 SocketTransportFactory(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Server::Kestrel::Transport::Sockets::SocketTransportOptions ^> ^ options, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public SocketTransportFactory (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions> options, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions> * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory
Public Sub New (options As IOptions(Of SocketTransportOptions), loggerFactory As ILoggerFactory)

Параметры

options
IOptions<SocketTransportOptions>

Параметры транспорта.

loggerFactory
ILoggerFactory

Фабрика средства ведения журнала.

Применяется к

SocketTransportFactory(IOptions<SocketTransportOptions>, IApplicationLifetime, ILoggerFactory)

Исходный код:
SocketTransportFactory.cs
Исходный код:
SocketTransportFactory.cs
public:
 SocketTransportFactory(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Server::Kestrel::Transport::Sockets::SocketTransportOptions ^> ^ options, Microsoft::AspNetCore::Hosting::IApplicationLifetime ^ applicationLifetime, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory);
public SocketTransportFactory (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions> options, Microsoft.AspNetCore.Hosting.IApplicationLifetime applicationLifetime, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions> * Microsoft.AspNetCore.Hosting.IApplicationLifetime * Microsoft.Extensions.Logging.ILoggerFactory -> Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory
Public Sub New (options As IOptions(Of SocketTransportOptions), applicationLifetime As IApplicationLifetime, loggerFactory As ILoggerFactory)

Параметры

applicationLifetime
IApplicationLifetime
loggerFactory
ILoggerFactory

Применяется к