Aracılığıyla paylaş


MetricLoadDescription Constructor

Definition

Constructor for MetricLoadDescription where at least one out of current and predicted load values should be specified. Predicted metric load values is currently a preview feature. It allows predicted load values to be reported and used at the Service Fabric side, but that feature is currently not enabled.

public MetricLoadDescription (string metricName, long? currentLoad = default, long? predictedLoad = default);
new System.Fabric.Description.MetricLoadDescription : string * Nullable<int64> * Nullable<int64> -> System.Fabric.Description.MetricLoadDescription
Public Sub New (metricName As String, Optional currentLoad As Nullable(Of Long) = Nothing, Optional predictedLoad As Nullable(Of Long) = Nothing)

Parameters

metricName
String

Metric name

currentLoad
Nullable<Int64>

Current load, can be null

predictedLoad
Nullable<Int64>

Predicted load, can be null

Applies to