EventHubAdapterFactory 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
EventHubAdapterFactory()
public EventHubAdapterFactory ();
Public Sub New ()
適用於
EventHubAdapterFactory(String, EventHubOptions, EventHubReceiverOptions, EventHubStreamCachePressureOptions, StreamCacheEvictionOptions, StreamStatisticOptions, IServiceProvider, SerializationManager, ITelemetryProducer, ILoggerFactory)
public EventHubAdapterFactory (string name, Orleans.Configuration.EventHubOptions ehOptions, Orleans.Configuration.EventHubReceiverOptions receiverOptions, Orleans.Configuration.EventHubStreamCachePressureOptions cacheOptions, Orleans.Configuration.StreamCacheEvictionOptions cacheEvictionOptions, Orleans.Configuration.StreamStatisticOptions statisticOptions, IServiceProvider serviceProvider, Orleans.Serialization.SerializationManager serializationManager, Orleans.Runtime.ITelemetryProducer telemetryProducer, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Orleans.ServiceBus.Providers.EventHubAdapterFactory : string * Orleans.Configuration.EventHubOptions * Orleans.Configuration.EventHubReceiverOptions * Orleans.Configuration.EventHubStreamCachePressureOptions * Orleans.Configuration.StreamCacheEvictionOptions * Orleans.Configuration.StreamStatisticOptions * IServiceProvider * Orleans.Serialization.SerializationManager * Orleans.Runtime.ITelemetryProducer * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.ServiceBus.Providers.EventHubAdapterFactory
Public Sub New (name As String, ehOptions As EventHubOptions, receiverOptions As EventHubReceiverOptions, cacheOptions As EventHubStreamCachePressureOptions, cacheEvictionOptions As StreamCacheEvictionOptions, statisticOptions As StreamStatisticOptions, serviceProvider As IServiceProvider, serializationManager As SerializationManager, telemetryProducer As ITelemetryProducer, loggerFactory As ILoggerFactory)
參數
- name
- String
- ehOptions
- EventHubOptions
- receiverOptions
- EventHubReceiverOptions
- cacheOptions
- EventHubStreamCachePressureOptions
- cacheEvictionOptions
- StreamCacheEvictionOptions
- statisticOptions
- StreamStatisticOptions
- serviceProvider
- IServiceProvider
- serializationManager
- SerializationManager
- telemetryProducer
- ITelemetryProducer
- loggerFactory
- ILoggerFactory
適用於
EventHubAdapterFactory(String, EventHubOptions, EventHubReceiverOptions, EventHubStreamCachePressureOptions, StreamCacheEvictionOptions, StreamStatisticOptions, IEventHubDataAdapter, IServiceProvider, SerializationManager, ITelemetryProducer, ILoggerFactory)
public EventHubAdapterFactory (string name, Orleans.Configuration.EventHubOptions ehOptions, Orleans.Configuration.EventHubReceiverOptions receiverOptions, Orleans.Configuration.EventHubStreamCachePressureOptions cacheOptions, Orleans.Configuration.StreamCacheEvictionOptions cacheEvictionOptions, Orleans.Configuration.StreamStatisticOptions statisticOptions, Orleans.ServiceBus.Providers.IEventHubDataAdapter dataAdapter, IServiceProvider serviceProvider, Orleans.Serialization.SerializationManager serializationManager, Orleans.Runtime.ITelemetryProducer telemetryProducer, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory);
new Orleans.ServiceBus.Providers.EventHubAdapterFactory : string * Orleans.Configuration.EventHubOptions * Orleans.Configuration.EventHubReceiverOptions * Orleans.Configuration.EventHubStreamCachePressureOptions * Orleans.Configuration.StreamCacheEvictionOptions * Orleans.Configuration.StreamStatisticOptions * Orleans.ServiceBus.Providers.IEventHubDataAdapter * IServiceProvider * Orleans.Serialization.SerializationManager * Orleans.Runtime.ITelemetryProducer * Microsoft.Extensions.Logging.ILoggerFactory -> Orleans.ServiceBus.Providers.EventHubAdapterFactory
Public Sub New (name As String, ehOptions As EventHubOptions, receiverOptions As EventHubReceiverOptions, cacheOptions As EventHubStreamCachePressureOptions, cacheEvictionOptions As StreamCacheEvictionOptions, statisticOptions As StreamStatisticOptions, dataAdapter As IEventHubDataAdapter, serviceProvider As IServiceProvider, serializationManager As SerializationManager, telemetryProducer As ITelemetryProducer, loggerFactory As ILoggerFactory)
參數
- name
- String
- ehOptions
- EventHubOptions
- receiverOptions
- EventHubReceiverOptions
- cacheOptions
- EventHubStreamCachePressureOptions
- cacheEvictionOptions
- StreamCacheEvictionOptions
- statisticOptions
- StreamStatisticOptions
- dataAdapter
- IEventHubDataAdapter
- serviceProvider
- IServiceProvider
- serializationManager
- SerializationManager
- telemetryProducer
- ITelemetryProducer
- loggerFactory
- ILoggerFactory