SocketTransportFactory Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
SocketTransportFactory(IOptions<SocketTransportOptions>, ILoggerFactory) |
Initialise une nouvelle instance de la classe SocketTransportFactory. |
SocketTransportFactory(IOptions<SocketTransportOptions>, IApplicationLifetime, ILoggerFactory) |
SocketTransportFactory(IOptions<SocketTransportOptions>, ILoggerFactory)
- Source:
- SocketTransportFactory.cs
Initialise une nouvelle instance de la 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)
Paramètres
- options
- IOptions<SocketTransportOptions>
Options de transport.
- loggerFactory
- ILoggerFactory
Fabrique du journaliseur.
S’applique à
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)
Paramètres
- options
- IOptions<SocketTransportOptions>
- applicationLifetime
- IApplicationLifetime
- loggerFactory
- ILoggerFactory