Partager via


WebHostBuilderNamedPipeExtensions.UseNamedPipes Méthode

Définition

Surcharges

UseNamedPipes(IWebHostBuilder)

Spécifiez Named Pipes comme transport à utiliser par Kestrel.

UseNamedPipes(IWebHostBuilder, Action<NamedPipeTransportOptions>)

Spécifiez Named Pipes comme transport à utiliser par Kestrel.

UseNamedPipes(IWebHostBuilder)

Source:
WebHostBuilderNamedPipeExtensions.cs

Spécifiez Named Pipes comme transport à utiliser par 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

Paramètres

hostBuilder
IWebHostBuilder

IWebHostBuilder à configurer.

Retours

L’IWebHostBuilderopérateur

S’applique à

UseNamedPipes(IWebHostBuilder, Action<NamedPipeTransportOptions>)

Source:
WebHostBuilderNamedPipeExtensions.cs

Spécifiez Named Pipes comme transport à utiliser par 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

Paramètres

hostBuilder
IWebHostBuilder

IWebHostBuilder à configurer.

configureOptions
Action<NamedPipeTransportOptions>

Rappel pour configurer les options de transport.

Retours

L’IWebHostBuilderopérateur

S’applique à