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

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