Class CriterionEventArgs
Argument passed to event handlers for critera notifications.
Inheritance
System.Object
    System.EventArgs
    CriterionEventArgs
  Inherited Members
      System.EventArgs.Empty
    
    
      System.Object.ToString()
    
    
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
  Namespace: EPiServer.Personalization.VisitorGroups
Assembly: EPiServer.Framework.AspNet.dll
Version: 11.20.7Syntax
public class CriterionEventArgs : EventArgsConstructors
CriterionEventArgs(HttpContextBase)
Initializes a new instance of the CriterionEventArgs class.
Declaration
public CriterionEventArgs(HttpContextBase httpContext)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Web.HttpContextBase | httpContext | The HTTP context. | 
Properties
HttpContext
Gets or sets the HTTP context for which the event was raised.
Declaration
public HttpContextBase HttpContext { get; }Property Value
| Type | Description | 
|---|---|
| System.Web.HttpContextBase | The HTTP context. | 
Remarks
In some cases HttpContext might be null, for example when executing inside a scheduled job.
