FloatValueStatistic.FindOrCreate 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
FindOrCreate(StatisticName, Func<Single>) | |
FindOrCreate(StatisticName, Func<Single>, CounterStorage) |
FindOrCreate(StatisticName, Func<Single>)
public static Orleans.Runtime.FloatValueStatistic FindOrCreate (Orleans.Runtime.StatisticName name, Func<float> f);
static member FindOrCreate : Orleans.Runtime.StatisticName * Func<single> -> Orleans.Runtime.FloatValueStatistic
Public Shared Function FindOrCreate (name As StatisticName, f As Func(Of Single)) As FloatValueStatistic
參數
- name
- StatisticName
傳回
適用於
FindOrCreate(StatisticName, Func<Single>, CounterStorage)
public static Orleans.Runtime.FloatValueStatistic FindOrCreate (Orleans.Runtime.StatisticName name, Func<float> f, Orleans.Runtime.CounterStorage storage);
static member FindOrCreate : Orleans.Runtime.StatisticName * Func<single> * Orleans.Runtime.CounterStorage -> Orleans.Runtime.FloatValueStatistic
Public Shared Function FindOrCreate (name As StatisticName, f As Func(Of Single), storage As CounterStorage) As FloatValueStatistic
參數
- name
- StatisticName
- storage
- CounterStorage