DefaultHttpContext Constructors
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.
Overloads
DefaultHttpContext() |
Initializes a new instance of the DefaultHttpContext class. |
DefaultHttpContext(IFeatureCollection) |
Initializes a new instance of the DefaultHttpContext class with provided features. |
DefaultHttpContext()
- Source:
- DefaultHttpContext.cs
- Source:
- DefaultHttpContext.cs
- Source:
- DefaultHttpContext.cs
Initializes a new instance of the DefaultHttpContext class.
public:
DefaultHttpContext();
public DefaultHttpContext ();
Public Sub New ()
Applies to
DefaultHttpContext(IFeatureCollection)
- Source:
- DefaultHttpContext.cs
- Source:
- DefaultHttpContext.cs
- Source:
- DefaultHttpContext.cs
Initializes a new instance of the DefaultHttpContext class with provided features.
public:
DefaultHttpContext(Microsoft::AspNetCore::Http::Features::IFeatureCollection ^ features);
public DefaultHttpContext (Microsoft.AspNetCore.Http.Features.IFeatureCollection features);
new Microsoft.AspNetCore.Http.DefaultHttpContext : Microsoft.AspNetCore.Http.Features.IFeatureCollection -> Microsoft.AspNetCore.Http.DefaultHttpContext
Public Sub New (features As IFeatureCollection)
Parameters
- features
- IFeatureCollection
Initial set of features for the DefaultHttpContext.