Partager via


MigrationsEndPointMiddleware Constructeur

Définition

Initialise une nouvelle instance de la classe MigrationsEndPointMiddleware

public:
 MigrationsEndPointMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Logging::ILogger<Microsoft::AspNetCore::Diagnostics::EntityFrameworkCore::MigrationsEndPointMiddleware ^> ^ logger, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::MigrationsEndPointOptions ^> ^ options);
public MigrationsEndPointMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.MigrationsEndPointMiddleware> logger, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.MigrationsEndPointOptions> options);
new Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.MigrationsEndPointMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Logging.ILogger<Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.MigrationsEndPointMiddleware> * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.MigrationsEndPointOptions> -> Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.MigrationsEndPointMiddleware
Public Sub New (next As RequestDelegate, logger As ILogger(Of MigrationsEndPointMiddleware), options As IOptions(Of MigrationsEndPointOptions))

Paramètres

next
RequestDelegate

Déléguer pour exécuter l’élément d’intergiciel suivant dans le pipeline de requête.

logger
ILogger<MigrationsEndPointMiddleware>

dans lequel écrire des Logger<T> messages.

options
IOptions<MigrationsEndPointOptions>

Options permettant de contrôler le comportement de l’intergiciel.

S’applique à