共用方式為


SocketTransportFactory 類別

定義

通訊端型連線的處理站。

public ref class SocketTransportFactory sealed : Microsoft::AspNetCore::Server::Kestrel::Transport::Abstractions::Internal::ITransportFactory
public ref class SocketTransportFactory sealed : Microsoft::AspNetCore::Connections::IConnectionListenerFactory
public sealed class SocketTransportFactory : Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ITransportFactory
public sealed class SocketTransportFactory : Microsoft.AspNetCore.Connections.IConnectionListenerFactory
public sealed class SocketTransportFactory : Microsoft.AspNetCore.Connections.IConnectionListenerFactory, Microsoft.AspNetCore.Connections.IConnectionListenerFactorySelector
type SocketTransportFactory = class
    interface ITransportFactory
type SocketTransportFactory = class
    interface IConnectionListenerFactory
type SocketTransportFactory = class
    interface IConnectionListenerFactory
    interface IConnectionListenerFactorySelector
Public NotInheritable Class SocketTransportFactory
Implements ITransportFactory
Public NotInheritable Class SocketTransportFactory
Implements IConnectionListenerFactory
Public NotInheritable Class SocketTransportFactory
Implements IConnectionListenerFactory, IConnectionListenerFactorySelector
繼承
SocketTransportFactory
實作
Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ITransportFactory IConnectionListenerFactory IConnectionListenerFactorySelector

建構函式

SocketTransportFactory(IOptions<SocketTransportOptions>, IApplicationLifetime, ILoggerFactory)

通訊端型連線的處理站。

SocketTransportFactory(IOptions<SocketTransportOptions>, ILoggerFactory)

初始化 SocketTransportFactory 類別的新執行個體。

方法

BindAsync(EndPoint, CancellationToken)

IConnectionListener建立系結至指定的 EndPoint

CanBind(EndPoint)

傳回值,這個值表示接聽程式處理站是否支援系結至指定的 EndPoint

Create(IEndPointInformation, IConnectionDispatcher)

通訊端型連線的處理站。

適用於