共用方式為


WebHostBuilderLibuvExtensions.UseLibuv 方法

定義

多載

UseLibuv(IWebHostBuilder)
已淘汰.

將 Libuv 指定為 Kestrel 要使用的傳輸。

UseLibuv(IWebHostBuilder, Action<LibuvTransportOptions>)
已淘汰.

將 Libuv 指定為 Kestrel 要使用的傳輸。

UseLibuv(IWebHostBuilder)

來源:
WebHostBuilderLibuvExtensions.cs
來源:
WebHostBuilderLibuvExtensions.cs
來源:
WebHostBuilderLibuvExtensions.cs
來源:
WebHostBuilderLibuvExtensions.cs
來源:
WebHostBuilderLibuvExtensions.cs
來源:
WebHostBuilderLibuvExtensions.cs

警告

The libuv transport is obsolete and will be removed in a future release. See https://aka.ms/libuvtransport for details.

將 Libuv 指定為 Kestrel 要使用的傳輸。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseLibuv(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseLibuv (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder);
[System.Obsolete("The libuv transport is obsolete and will be removed in a future release. See https://aka.ms/libuvtransport for details.", false)]
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseLibuv (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder);
static member UseLibuv : Microsoft.AspNetCore.Hosting.IWebHostBuilder -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
[<System.Obsolete("The libuv transport is obsolete and will be removed in a future release. See https://aka.ms/libuvtransport for details.", false)>]
static member UseLibuv : Microsoft.AspNetCore.Hosting.IWebHostBuilder -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseLibuv (hostBuilder As IWebHostBuilder) As IWebHostBuilder

參數

hostBuilder
IWebHostBuilder

要設定的 Microsoft.AspNetCore.Hosting.IWebHostBuilder。

傳回

Microsoft.AspNetCore.Hosting.IWebHostBuilder。

屬性

適用於

UseLibuv(IWebHostBuilder, Action<LibuvTransportOptions>)

來源:
WebHostBuilderLibuvExtensions.cs
來源:
WebHostBuilderLibuvExtensions.cs
來源:
WebHostBuilderLibuvExtensions.cs
來源:
WebHostBuilderLibuvExtensions.cs
來源:
WebHostBuilderLibuvExtensions.cs
來源:
WebHostBuilderLibuvExtensions.cs

警告

The libuv transport is obsolete and will be removed in a future release. See https://aka.ms/libuvtransport for details.

將 Libuv 指定為 Kestrel 要使用的傳輸。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseLibuv(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, Action<Microsoft::AspNetCore::Server::Kestrel::Transport::Libuv::LibuvTransportOptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseLibuv (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.LibuvTransportOptions> configureOptions);
[System.Obsolete("The libuv transport is obsolete and will be removed in a future release. See https://aka.ms/libuvtransport for details.", false)]
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseLibuv (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.LibuvTransportOptions> configureOptions);
static member UseLibuv : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.LibuvTransportOptions> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
[<System.Obsolete("The libuv transport is obsolete and will be removed in a future release. See https://aka.ms/libuvtransport for details.", false)>]
static member UseLibuv : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv.LibuvTransportOptions> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseLibuv (hostBuilder As IWebHostBuilder, configureOptions As Action(Of LibuvTransportOptions)) As IWebHostBuilder

參數

hostBuilder
IWebHostBuilder

要設定的 Microsoft.AspNetCore.Hosting.IWebHostBuilder。

configureOptions
Action<LibuvTransportOptions>

設定 Libuv 選項的回呼。

傳回

Microsoft.AspNetCore.Hosting.IWebHostBuilder。

屬性

適用於