ProfileEventArgs.Context 属性

定义

获取当前请求的 HttpContextGets the HttpContext for the current request.

public:
 property System::Web::HttpContext ^ Context { System::Web::HttpContext ^ get(); };
public System.Web.HttpContext Context { get; }
member this.Context : System.Web.HttpContext
Public ReadOnly Property Context As HttpContext

属性值

当前请求的 HttpContextThe HttpContext for the current request

注解

对象为类ProfileModule的事件提供事件信息。 Personalize ProfileEventArgsThe ProfileEventArgs object provides event information to the Personalize event of the ProfileModule class. 属性提供对当前请求的的访问。 HttpContext ContextThe Context property provides access to the HttpContext of the current request.

适用于

另请参阅