Loupe - Log - Monitor - Resolve
Gibraltar.Agent.PostSharp Namespace / GTimer Class / Category Property

In This Topic
    Category Property (GTimer)
    In This Topic
    Dot-delimited category for this timer within all timers for the current application.
    Public Property Category As String
    public string Category {get; set;}

    By default the Category is the fully qualified class name of the method being timed. This is then added to the BaseCategory Property (Gibraltar.Agent.PostSharp.GAspectBase) along with "Method Profiling" to form the full category name.

    By setting the Category property explicitly you can put a specific timer into a subcategory underneath "Method Profiling".


    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also