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

In This Topic
    Category Property (GFeature)
    In This Topic
    Dot-delimited category for the metric related to this feature within all features 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 monitored. This is then added to the BaseCategory Property along with "Feature Usage" to form the full category name.

    By setting the Category property explicitly you can put a specific field into a subcategory underneath "Feature Usage".

    Two features with the same Category and Name must have a common set of parameters or the event metrics necessary for analysis will not record correctly. If you need to associate the same feature Category and Name with methods that have different signatures disable parameter recording by setting the LogParameters Property to false.


    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