EventHubAdapterFactory.ReceiverMonitorFactory 属性

定义

创建接收方监视器以报告性能指标。 工厂 funciton 应返回 IEventHubReceiverMonitor。

protected Func<Orleans.ServiceBus.Providers.EventHubReceiverMonitorDimensions,Orleans.Runtime.Logger,Orleans.Providers.Streams.Common.IQueueAdapterReceiverMonitor> ReceiverMonitorFactory { get; set; }
protected Func<Orleans.ServiceBus.Providers.EventHubReceiverMonitorDimensions,Microsoft.Extensions.Logging.ILoggerFactory,Orleans.Runtime.ITelemetryProducer,Orleans.Providers.Streams.Common.IQueueAdapterReceiverMonitor> ReceiverMonitorFactory { get; set; }
member this.ReceiverMonitorFactory : Func<Orleans.ServiceBus.Providers.EventHubReceiverMonitorDimensions, Orleans.Runtime.Logger, Orleans.Providers.Streams.Common.IQueueAdapterReceiverMonitor> with get, set
member this.ReceiverMonitorFactory : Func<Orleans.ServiceBus.Providers.EventHubReceiverMonitorDimensions, Microsoft.Extensions.Logging.ILoggerFactory, Orleans.Runtime.ITelemetryProducer, Orleans.Providers.Streams.Common.IQueueAdapterReceiverMonitor> with get, set
Protected Property ReceiverMonitorFactory As Func(Of EventHubReceiverMonitorDimensions, Logger, IQueueAdapterReceiverMonitor)
Protected Property ReceiverMonitorFactory As Func(Of EventHubReceiverMonitorDimensions, ILoggerFactory, ITelemetryProducer, IQueueAdapterReceiverMonitor)

属性值

适用于