Compartir a través de


SocketTransportFactory Constructores

Definición

Sobrecargas

SocketTransportFactory(IOptions<SocketTransportOptions>, ILoggerFactory)

Inicializa una nueva instancia de la clase SocketTransportFactory.

SocketTransportFactory(IOptions<SocketTransportOptions>, IApplicationLifetime, ILoggerFactory)

SocketTransportFactory(IOptions<SocketTransportOptions>, ILoggerFactory)

Source:
SocketTransportFactory.cs

Inicializa una nueva instancia de la clase 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>

Opciones de transporte.

loggerFactory
ILoggerFactory

El generador del registrador.

Se aplica a

SocketTransportFactory(IOptions<SocketTransportOptions>, IApplicationLifetime, ILoggerFactory)

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

Se aplica a