KestrelServerOptions.ListenHandle 方法

定义

重载

ListenHandle(UInt64)

打开套接字文件描述符。

ListenHandle(UInt64, Action<ListenOptions>)

打开套接字文件描述符。 回调配置特定于终结点的设置。

ListenHandle(UInt64)

Source:
KestrelServerOptions.cs
Source:
KestrelServerOptions.cs

打开套接字文件描述符。

public:
 void ListenHandle(System::UInt64 handle);
public void ListenHandle (ulong handle);
member this.ListenHandle : uint64 -> unit
Public Sub ListenHandle (handle As ULong)

参数

handle
UInt64

适用于

ListenHandle(UInt64, Action<ListenOptions>)

Source:
KestrelServerOptions.cs
Source:
KestrelServerOptions.cs

打开套接字文件描述符。 回调配置特定于终结点的设置。

public:
 void ListenHandle(System::UInt64 handle, Action<Microsoft::AspNetCore::Server::Kestrel::Core::ListenOptions ^> ^ configure);
public void ListenHandle (ulong handle, Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> configure);
member this.ListenHandle : uint64 * Action<Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions> -> unit
Public Sub ListenHandle (handle As ULong, configure As Action(Of ListenOptions))

参数

handle
UInt64
configure
Action<ListenOptions>

适用于