Compartilhar via


SocketTransportFactory Construtores

Definição

Sobrecargas

SocketTransportFactory(IOptions<SocketTransportOptions>, ILoggerFactory)

Inicializa uma nova instância da classe SocketTransportFactory.

SocketTransportFactory(IOptions<SocketTransportOptions>, IApplicationLifetime, ILoggerFactory)

SocketTransportFactory(IOptions<SocketTransportOptions>, ILoggerFactory)

Origem:
SocketTransportFactory.cs

Inicializa uma nova instância da classe 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)

Parâmetros

options
IOptions<SocketTransportOptions>

As opções de transporte.

loggerFactory
ILoggerFactory

A fábrica do agente.

Aplica-se a

SocketTransportFactory(IOptions<SocketTransportOptions>, IApplicationLifetime, ILoggerFactory)

Origem:
SocketTransportFactory.cs
Origem:
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)

Parâmetros

applicationLifetime
IApplicationLifetime
loggerFactory
ILoggerFactory

Aplica-se a