共用方式為


WebHostBuilderNamedPipeExtensions.UseNamedPipes 方法

定義

多載

UseNamedPipes(IWebHostBuilder)

將具名管道指定為 Kestrel 要使用的傳輸。

UseNamedPipes(IWebHostBuilder, Action<NamedPipeTransportOptions>)

將具名管道指定為 Kestrel 要使用的傳輸。

UseNamedPipes(IWebHostBuilder)

來源:
WebHostBuilderNamedPipeExtensions.cs

將具名管道指定為 Kestrel 要使用的傳輸。

public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseNamedPipes (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder);
static member UseNamedPipes : Microsoft.AspNetCore.Hosting.IWebHostBuilder -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseNamedPipes (hostBuilder As IWebHostBuilder) As IWebHostBuilder

參數

hostBuilder
IWebHostBuilder

要設定的 IWebHostBuilder

傳回

IWebHostBuilder

適用於

UseNamedPipes(IWebHostBuilder, Action<NamedPipeTransportOptions>)

來源:
WebHostBuilderNamedPipeExtensions.cs

將具名管道指定為 Kestrel 要使用的傳輸。

public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseNamedPipes (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes.NamedPipeTransportOptions> configureOptions);
static member UseNamedPipes : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes.NamedPipeTransportOptions> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseNamedPipes (hostBuilder As IWebHostBuilder, configureOptions As Action(Of NamedPipeTransportOptions)) As IWebHostBuilder

參數

hostBuilder
IWebHostBuilder

要設定的 IWebHostBuilder

configureOptions
Action<NamedPipeTransportOptions>

用來設定傳輸選項的回呼。

傳回

IWebHostBuilder

適用於