'Declaration
Public Overloads Shared Function AddOrGet( _ ByVal definition As EventMetricDefinition, _ ByVal instanceName As String _ ) As EventMetric
public static EventMetric AddOrGet( EventMetricDefinition definition, string instanceName )
Parameters
- definition
- The metric definition for the metric instance
- instanceName
- The unique name of this instance within the metric's collection.
Return Value
The event metric object for the specified event metric instance.