KestrelServerOptions.ListenHandle 方法

定義

多載

ListenHandle(UInt64)

開啟通訊端檔案描述元。

ListenHandle(UInt64, Action<ListenOptions>)

開啟通訊端檔案描述元。 回呼會設定端點特定的設定。

ListenHandle(UInt64)

開啟通訊端檔案描述元。

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

開啟通訊端檔案描述元。 回呼會設定端點特定的設定。

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>

適用於