KestrelServerOptions.ListenHandle 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ListenHandle(UInt64) |
打开套接字文件描述符。 |
ListenHandle(UInt64, Action<ListenOptions>) |
打开套接字文件描述符。 回调配置特定于终结点的设置。 |
ListenHandle(UInt64)
- Source:
- KestrelServerOptions.cs
- 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
- 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>
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈