RequestServicesFeature Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An implementation for IServiceProvidersFeature for accessing request services.
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
- Inheritance
-
RequestServicesFeature
- Implements
Constructors
RequestServicesFeature(HttpContext, IServiceScopeFactory) |
Initializes a new instance of RequestServicesFeature. |
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for