LoadMetric(String, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates and initializes a LoadMetric object with the specified name and load value.
public LoadMetric (string name, int value);
new System.Fabric.LoadMetric : string * int -> System.Fabric.LoadMetric
Public Sub New (name As String, value As Integer)
Parameters
- name
- String
The name of the metric. This string must match the names of the metrics that are specified in the Metrics collection, or they will be ignored.
- value
- Int32
The current value of the metric as an integer.