ComponentOne Tabs for ASP.NET WebForms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls.C1ReportViewer.ReportService Namespace / ReportCache Class / Priority Property

In This Topic
    Priority Property
    In This Topic
    Gets or sets the cost of reports relative to other objects in the cache.
    Syntax
    'Declaration
     
    Public Property Priority As System.Web.Caching.CacheItemPriority
    public System.Web.Caching.CacheItemPriority Priority {get; set;}
    Remarks

    If your application stores many types of object in the cache, you may want to set the Priority property to reflect the relative cost of each type of item. For example, you may be generating technical diagrams that take a long time to create, and should have a higher cache priority than simple reports. Or you may be caching customer information that is easy to retrieve from the database and should have a lower priority.

    For more details on this property, and a list of valid settings, see the System.Web.Caching.Cache.Insert(System.String,System.Object) method in the .NET framework documentation.

    See Also