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