ProfileEventArgs(HttpContext) 构造函数

定义

创建 ProfileEventArgs 类的实例。Creates an instance of the ProfileEventArgs class.

public:
 ProfileEventArgs(System::Web::HttpContext ^ context);
public ProfileEventArgs (System.Web.HttpContext context);
new System.Web.Profile.ProfileEventArgs : System.Web.HttpContext -> System.Web.Profile.ProfileEventArgs
Public Sub New (context As HttpContext)

参数

context
HttpContext

当前请求的 HttpContextThe HttpContext of the current request.

注解

创建类的HttpContext一个实例Context , 并将属性设置为指定的。 ProfileEventArgs ProfileEventArgsThe ProfileEventArgs creates an instance of the ProfileEventArgs class and sets the Context property to the specified HttpContext.

适用于

另请参阅