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