다음을 통해 공유


SocketTransportFactory 생성자

정의

오버로드

SocketTransportFactory(IOptions<SocketTransportOptions>, ILoggerFactory)

SocketTransportFactory 클래스의 새 인스턴스를 초기화합니다.

SocketTransportFactory(IOptions<SocketTransportOptions>, IApplicationLifetime, ILoggerFactory)

SocketTransportFactory(IOptions<SocketTransportOptions>, ILoggerFactory)

Source:
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)

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)

매개 변수

applicationLifetime
IApplicationLifetime
loggerFactory
ILoggerFactory

적용 대상