共用方式為


RequestServicesFeature 類別

定義

用於存取要求服務的實作 IServiceProvidersFeature

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
繼承
RequestServicesFeature
實作

建構函式

RequestServicesFeature(HttpContext, IServiceScopeFactory)

初始化 RequestServicesFeature 的新執行個體。

屬性

RequestServices

取得或設定範圍設定為 IServiceProvider 目前要求的範圍。

方法

Dispose()

用於存取要求服務的實作 IServiceProvidersFeature

DisposeAsync()

用於存取要求服務的實作 IServiceProvidersFeature

適用於