WebHostBuilderNamedPipeExtensions.UseNamedPipes Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
UseNamedPipes(IWebHostBuilder) |
Specificare Named Pipes come trasporto da utilizzare da Kestrel. |
UseNamedPipes(IWebHostBuilder, Action<NamedPipeTransportOptions>) |
Specificare Named Pipes come trasporto da utilizzare da Kestrel. |
UseNamedPipes(IWebHostBuilder)
Specificare Named Pipes come trasporto da utilizzare da 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
Parametri
- hostBuilder
- IWebHostBuilder
Oggetto IWebHostBuilder da configurare.
Restituisce
Oggetto IWebHostBuilder.
Si applica a
UseNamedPipes(IWebHostBuilder, Action<NamedPipeTransportOptions>)
Specificare Named Pipes come trasporto da utilizzare da 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
Parametri
- hostBuilder
- IWebHostBuilder
Oggetto IWebHostBuilder da configurare.
- configureOptions
- Action<NamedPipeTransportOptions>
Callback per configurare le opzioni di trasporto.
Restituisce
Oggetto IWebHostBuilder.