Ανάγνωση στα Αγγλικά

Κοινή χρήση μέσω


RequestServicesFeature Class

Definition

An implementation for IServiceProvidersFeature for accessing request services.

C#
public class RequestServicesFeature : IAsyncDisposable, IDisposable, Microsoft.AspNetCore.Http.Features.IServiceProvidersFeature
Inheritance
RequestServicesFeature
Implements

Constructors

Properties

RequestServices

Gets or sets the IServiceProvider scoped to the current request.

Methods

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.

Applies to

Προϊόν Εκδόσεις
ASP.NET Core 3.0, 3.1, 5.0, 6.0, 7.0, 8.0, 9.0