共用方式為


EventHubAdapterFactory 建構函式

定義

多載

EventHubAdapterFactory(String, EventHubOptions, EventHubReceiverOptions, EventHubStreamCachePressureOptions, StreamCacheEvictionOptions, StreamStatisticOptions, IEventHubDataAdapter, IServiceProvider, ILoggerFactory, IEnvironmentStatisticsProvider)
EventHubAdapterFactory(String, EventHubOptions, EventHubReceiverOptions, EventHubStreamCachePressureOptions, StreamCacheEvictionOptions, StreamStatisticOptions, IEventHubDataAdapter, IServiceProvider, ILoggerFactory, IHostEnvironmentStatistics)

EventHubAdapterFactory(String, EventHubOptions, EventHubReceiverOptions, EventHubStreamCachePressureOptions, StreamCacheEvictionOptions, StreamStatisticOptions, IEventHubDataAdapter, IServiceProvider, ILoggerFactory, IEnvironmentStatisticsProvider)

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.Streaming.EventHubs.IEventHubDataAdapter dataAdapter, IServiceProvider serviceProvider, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Orleans.Statistics.IEnvironmentStatisticsProvider environmentStatisticsProvider);
new Orleans.Streaming.EventHubs.EventHubAdapterFactory : string * Orleans.Configuration.EventHubOptions * Orleans.Configuration.EventHubReceiverOptions * Orleans.Configuration.EventHubStreamCachePressureOptions * Orleans.Configuration.StreamCacheEvictionOptions * Orleans.Configuration.StreamStatisticOptions * Orleans.Streaming.EventHubs.IEventHubDataAdapter * IServiceProvider * Microsoft.Extensions.Logging.ILoggerFactory * Orleans.Statistics.IEnvironmentStatisticsProvider -> Orleans.Streaming.EventHubs.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, loggerFactory As ILoggerFactory, environmentStatisticsProvider As IEnvironmentStatisticsProvider)

參數

name
String
ehOptions
EventHubOptions
receiverOptions
EventHubReceiverOptions
cacheEvictionOptions
StreamCacheEvictionOptions
statisticOptions
StreamStatisticOptions
dataAdapter
IEventHubDataAdapter
serviceProvider
IServiceProvider
loggerFactory
ILoggerFactory
environmentStatisticsProvider
IEnvironmentStatisticsProvider

適用於

EventHubAdapterFactory(String, EventHubOptions, EventHubReceiverOptions, EventHubStreamCachePressureOptions, StreamCacheEvictionOptions, StreamStatisticOptions, IEventHubDataAdapter, IServiceProvider, ILoggerFactory, IHostEnvironmentStatistics)

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.Streaming.EventHubs.IEventHubDataAdapter dataAdapter, IServiceProvider serviceProvider, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Orleans.Statistics.IHostEnvironmentStatistics hostEnvironmentStatistics);
new Orleans.Streaming.EventHubs.EventHubAdapterFactory : string * Orleans.Configuration.EventHubOptions * Orleans.Configuration.EventHubReceiverOptions * Orleans.Configuration.EventHubStreamCachePressureOptions * Orleans.Configuration.StreamCacheEvictionOptions * Orleans.Configuration.StreamStatisticOptions * Orleans.Streaming.EventHubs.IEventHubDataAdapter * IServiceProvider * Microsoft.Extensions.Logging.ILoggerFactory * Orleans.Statistics.IHostEnvironmentStatistics -> Orleans.Streaming.EventHubs.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, loggerFactory As ILoggerFactory, hostEnvironmentStatistics As IHostEnvironmentStatistics)

參數

name
String
ehOptions
EventHubOptions
receiverOptions
EventHubReceiverOptions
cacheEvictionOptions
StreamCacheEvictionOptions
statisticOptions
StreamStatisticOptions
dataAdapter
IEventHubDataAdapter
serviceProvider
IServiceProvider
loggerFactory
ILoggerFactory
hostEnvironmentStatistics
IHostEnvironmentStatistics

適用於