共用方式為


LoadMetric(String, Int32) Constructor

Definition

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.

Applies to