Dela via


MigrationsEndPointMiddleware Constructor

Definition

Initializes a new instance of the MigrationsEndPointMiddleware class

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))

Parameters

next
RequestDelegate

Delegate to execute the next piece of middleware in the request pipeline.

logger
ILogger<MigrationsEndPointMiddleware>

The Logger<T> to write messages to.

options
IOptions<MigrationsEndPointOptions>

The options to control the behavior of the middleware.

Applies to