Loupe - Log - Monitor - Resolve
Gibraltar.Agent.PostSharp Namespace / GField Class / GetBaseCategory Method
Optional. A sub category to use from the default base category for the current call.

In This Topic
    GetBaseCategory Method (GField)
    In This Topic
    Infrastructure. Used to safely determine the base category path for the current aspect. Will always return a non-empty value.
    Syntax
    'Declaration
     
    
    Protected Function GetBaseCategory( _
       ByVal subCategory As String _
    ) As String
    protected string GetBaseCategory( 
       string subCategory
    )

    Parameters

    subCategory
    Optional. A sub category to use from the default base category for the current call.

    Return Value

    A non-empty category without the trailing period.
    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