WebHostBuilderNamedPipeExtensions.UseNamedPipes Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UseNamedPipes(IWebHostBuilder) |
Specify Named Pipes as the transport to be used by Kestrel. |
UseNamedPipes(IWebHostBuilder, Action<NamedPipeTransportOptions>) |
Specify Named Pipes as the transport to be used by Kestrel. |
UseNamedPipes(IWebHostBuilder)
Specify Named Pipes as the transport to be used by 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
Parameters
- hostBuilder
- IWebHostBuilder
The IWebHostBuilder to configure.
Returns
The IWebHostBuilder.
Applies to
UseNamedPipes(IWebHostBuilder, Action<NamedPipeTransportOptions>)
Specify Named Pipes as the transport to be used by 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
Parameters
- hostBuilder
- IWebHostBuilder
The IWebHostBuilder to configure.
- configureOptions
- Action<NamedPipeTransportOptions>
A callback to configure transport options.
Returns
The IWebHostBuilder.