Parameters
- category
- The default category for the current aspect, replace with your own non-empty value to override.
By default the base category will be a combination of the current application name and a constant string (either "Trace.Exit" or "Profiled Method" depending on whether this is a call to get the base category for a metric or a log message). By overriding this method you can substitute your own method of calculating this value and then set the category parameter to reflect your choice.
If you set an invalid (generally null or empty) value the default will be used.
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