Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent.PostSharp Namespace / GTrace Class / Enabled Property

In This Topic
    Enabled Property (GTrace)
    In This Topic
    Enables or disables tracing for all methods tagged with GTrace 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