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

In This Topic
    Enabled Property (GTimer)
    In This Topic
    Enables or disables timing for all methods tagged with GTimer in the current process. Enabled by default.
    Syntax
    'Declaration
     
    
    Public Shared Property Enabled As Boolean
    public static bool Enabled {get; set;}
    Remarks
    This property can be directly changed at runtime to affect all of the methods tagged with the GTrace attribute without recompilation.
    Requirements

    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