Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Monitor Namespace / EventMetricDefinition Class / OnMetricDictionaryCreate Method

OnMetricDictionaryCreate Method (EventMetricDefinition)
Invoked by the base class to allow inheritors to provide derived implementations Create a metric dictionary in our derived type for highest type fidelity.
Syntax
'Declaration
 
Protected Overrides Function OnMetricDictionaryCreate() As MetricCollection
 

Return Value

The MetricCollection-compatible object.An event metric dictionary object for this event metric definition.
Remarks
If you wish to provide a derived class for the metric dictionary in your derived metric, use this method to create and return your derived object. This is used during object construction, so implementations should treat it as a static method.
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