RequestServicesFeature Třída
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Implementace pro IServiceProvidersFeature přístup ke službám žádostí.
public ref class RequestServicesFeature : IAsyncDisposable, IDisposable, Microsoft::AspNetCore::Http::Features::IServiceProvidersFeature
public class RequestServicesFeature : IAsyncDisposable, IDisposable, Microsoft.AspNetCore.Http.Features.IServiceProvidersFeature
type RequestServicesFeature = class
interface IServiceProvidersFeature
interface IAsyncDisposable
interface IDisposable
type RequestServicesFeature = class
interface IServiceProvidersFeature
interface IDisposable
interface IAsyncDisposable
Public Class RequestServicesFeature
Implements IAsyncDisposable, IDisposable, IServiceProvidersFeature
- Dědičnost
-
RequestServicesFeature
- Implementuje
Konstruktory
| RequestServicesFeature(HttpContext, IServiceScopeFactory) |
Inicializuje novou instanci RequestServicesFeature. |
Vlastnosti
| RequestServices |
Získá nebo nastaví IServiceProvider obor na aktuální požadavek. |
Metody
| Dispose() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| DisposeAsync() | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously. |