DefaultCacheMonitor 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
DefaultCacheMonitor(CacheMonitorDimensions)
初始化 DefaultCacheMonitor 類別的新執行個體。
public DefaultCacheMonitor (Orleans.Providers.Streams.Common.CacheMonitorDimensions dimensions);
new Orleans.Providers.Streams.Common.DefaultCacheMonitor : Orleans.Providers.Streams.Common.CacheMonitorDimensions -> Orleans.Providers.Streams.Common.DefaultCacheMonitor
Public Sub New (dimensions As CacheMonitorDimensions)
參數
- dimensions
- CacheMonitorDimensions
維度。
適用於
DefaultCacheMonitor(ITelemetryProducer)
public DefaultCacheMonitor (Orleans.Runtime.ITelemetryProducer telemetryProducer);
new Orleans.Providers.Streams.Common.DefaultCacheMonitor : Orleans.Runtime.ITelemetryProducer -> Orleans.Providers.Streams.Common.DefaultCacheMonitor
Public Sub New (telemetryProducer As ITelemetryProducer)
參數
- telemetryProducer
- ITelemetryProducer
適用於
DefaultCacheMonitor(Logger)
public DefaultCacheMonitor (Orleans.Runtime.Logger logger);
new Orleans.Providers.Streams.Common.DefaultCacheMonitor : Orleans.Runtime.Logger -> Orleans.Providers.Streams.Common.DefaultCacheMonitor
Public Sub New (logger As Logger)
參數
- logger
- Logger
適用於
DefaultCacheMonitor(KeyValuePair<String,Object>[])
初始化 DefaultCacheMonitor 類別的新執行個體。
protected DefaultCacheMonitor (System.Collections.Generic.KeyValuePair<string,object>[] dimensions);
new Orleans.Providers.Streams.Common.DefaultCacheMonitor : System.Collections.Generic.KeyValuePair<string, obj>[] -> Orleans.Providers.Streams.Common.DefaultCacheMonitor
Protected Sub New (dimensions As KeyValuePair(Of String, Object)())
參數
- dimensions
- KeyValuePair<String,Object>[]
適用於
DefaultCacheMonitor(CacheMonitorDimensions, ITelemetryProducer)
public DefaultCacheMonitor (Orleans.Providers.Streams.Common.CacheMonitorDimensions dimensions, Orleans.Runtime.ITelemetryProducer telemetryProducer);
new Orleans.Providers.Streams.Common.DefaultCacheMonitor : Orleans.Providers.Streams.Common.CacheMonitorDimensions * Orleans.Runtime.ITelemetryProducer -> Orleans.Providers.Streams.Common.DefaultCacheMonitor
Public Sub New (dimensions As CacheMonitorDimensions, telemetryProducer As ITelemetryProducer)
參數
- dimensions
- CacheMonitorDimensions
- telemetryProducer
- ITelemetryProducer
適用於
DefaultCacheMonitor(CacheMonitorDimensions, Logger)
public DefaultCacheMonitor (Orleans.Providers.Streams.Common.CacheMonitorDimensions dimensions, Orleans.Runtime.Logger logger);
new Orleans.Providers.Streams.Common.DefaultCacheMonitor : Orleans.Providers.Streams.Common.CacheMonitorDimensions * Orleans.Runtime.Logger -> Orleans.Providers.Streams.Common.DefaultCacheMonitor
Public Sub New (dimensions As CacheMonitorDimensions, logger As Logger)
參數
- dimensions
- CacheMonitorDimensions
- logger
- Logger