OwinEnvironment(HttpContext) 构造函数

定义

初始化 OwinEnvironment 的新实例。

public:
 OwinEnvironment(Microsoft::AspNetCore::Http::HttpContext ^ context);
public OwinEnvironment (Microsoft.AspNetCore.Http.HttpContext context);
new Microsoft.AspNetCore.Owin.OwinEnvironment : Microsoft.AspNetCore.Http.HttpContext -> Microsoft.AspNetCore.Owin.OwinEnvironment
Public Sub New (context As HttpContext)

参数

context
HttpContext

请求上下文。

适用于