Compartir a través de


DefaultHttpContext.Initialize(IFeatureCollection) Método

Definición

Reinicializa el instante actual de la clase con características pasadas.

public:
 virtual void Initialize(Microsoft::AspNetCore::Http::Features::IFeatureCollection ^ features);
public:
 void Initialize(Microsoft::AspNetCore::Http::Features::IFeatureCollection ^ features);
public virtual void Initialize (Microsoft.AspNetCore.Http.Features.IFeatureCollection features);
public void Initialize (Microsoft.AspNetCore.Http.Features.IFeatureCollection features);
abstract member Initialize : Microsoft.AspNetCore.Http.Features.IFeatureCollection -> unit
override this.Initialize : Microsoft.AspNetCore.Http.Features.IFeatureCollection -> unit
member this.Initialize : Microsoft.AspNetCore.Http.Features.IFeatureCollection -> unit
Public Overridable Sub Initialize (features As IFeatureCollection)
Public Sub Initialize (features As IFeatureCollection)

Parámetros

features
IFeatureCollection

Nuevo conjunto de características para .DefaultHttpContext

Comentarios

Este método permite al consumidor volver a usar para DefaultHttpContext otra solicitud, en lugar de tener que asignar una nueva instancia.

Se aplica a