MemoryAdapterFactory<TSerializer> 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
MemoryAdapterFactory<TSerializer>()
public MemoryAdapterFactory ();
Public Sub New ()
適用於
MemoryAdapterFactory<TSerializer>(String, StreamCacheEvictionOptions, StreamStatisticOptions, HashRingStreamQueueMapperOptions, IServiceProvider, IGrainFactory, ILoggerFactory)
public MemoryAdapterFactory (string providerName, Orleans.Configuration.StreamCacheEvictionOptions cacheOptions, Orleans.Configuration.StreamStatisticOptions statisticOptions, Orleans.Configuration.HashRingStreamQueueMapperOptions queueMapperOptions, IServiceProvider serviceProvider, Orleans.IGrainFactory grainFactory, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Orleans.Providers.MemoryAdapterFactory<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)> : string * Orleans.Configuration.StreamCacheEvictionOptions * Orleans.Configuration.StreamStatisticOptions * Orleans.Configuration.HashRingStreamQueueMapperOptions * IServiceProvider * Orleans.IGrainFactory * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.Providers.MemoryAdapterFactory<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)>
Public Sub New (providerName As String, cacheOptions As StreamCacheEvictionOptions, statisticOptions As StreamStatisticOptions, queueMapperOptions As HashRingStreamQueueMapperOptions, serviceProvider As IServiceProvider, grainFactory As IGrainFactory, loggerFactory As ILoggerFactory)
參數
- providerName
- String
- cacheOptions
- StreamCacheEvictionOptions
- statisticOptions
- StreamStatisticOptions
- queueMapperOptions
- HashRingStreamQueueMapperOptions
- serviceProvider
- IServiceProvider
- grainFactory
- IGrainFactory
- loggerFactory
- ILoggerFactory
適用於
MemoryAdapterFactory<TSerializer>(String, StreamCacheEvictionOptions, StreamStatisticOptions, HashRingStreamQueueMapperOptions, IServiceProvider, IGrainFactory, ITelemetryProducer, ILoggerFactory)
public MemoryAdapterFactory (string providerName, Orleans.Configuration.StreamCacheEvictionOptions cacheOptions, Orleans.Configuration.StreamStatisticOptions statisticOptions, Orleans.Configuration.HashRingStreamQueueMapperOptions queueMapperOptions, IServiceProvider serviceProvider, Orleans.IGrainFactory grainFactory, Orleans.Runtime.ITelemetryProducer telemetryProducer, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Orleans.Providers.MemoryAdapterFactory<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)> : string * Orleans.Configuration.StreamCacheEvictionOptions * Orleans.Configuration.StreamStatisticOptions * Orleans.Configuration.HashRingStreamQueueMapperOptions * IServiceProvider * Orleans.IGrainFactory * Orleans.Runtime.ITelemetryProducer * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.Providers.MemoryAdapterFactory<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)>
Public Sub New (providerName As String, cacheOptions As StreamCacheEvictionOptions, statisticOptions As StreamStatisticOptions, queueMapperOptions As HashRingStreamQueueMapperOptions, serviceProvider As IServiceProvider, grainFactory As IGrainFactory, telemetryProducer As ITelemetryProducer, loggerFactory As ILoggerFactory)
參數
- providerName
- String
- cacheOptions
- StreamCacheEvictionOptions
- statisticOptions
- StreamStatisticOptions
- queueMapperOptions
- HashRingStreamQueueMapperOptions
- serviceProvider
- IServiceProvider
- grainFactory
- IGrainFactory
- telemetryProducer
- ITelemetryProducer
- loggerFactory
- ILoggerFactory