Megosztás a következőn keresztül:


UseForFeatureExtensions.UseForFeature Metódus

Definíció

Feltételesen létrehoz egy ágat a kérelemfolyamatban, amely újra csatlakozik a fő folyamathoz.

public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseForFeature (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, string featureName, Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> configuration);
static member UseForFeature : Microsoft.AspNetCore.Builder.IApplicationBuilder * string * Action<Microsoft.AspNetCore.Builder.IApplicationBuilder> -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseForFeature (app As IApplicationBuilder, featureName As String, configuration As Action(Of IApplicationBuilder)) As IApplicationBuilder

Paraméterek

featureName
String

Az alkalmazáság használatához engedélyezni kívánt funkció

configuration
Action<IApplicationBuilder>

Konfigurál egy ágat a bevételhez

Válaszok

A következőre érvényes: