Udostępnij za pośrednictwem


ChangeFeedProcessorBuilder.WithHealthMonitor(IHealthMonitor) Method

Definition

Sets the IHealthMonitor to be used to monitor unhealthiness situation.

public Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedProcessorBuilder WithHealthMonitor (Microsoft.Azure.Documents.ChangeFeedProcessor.Monitoring.IHealthMonitor healthMonitor);
member this.WithHealthMonitor : Microsoft.Azure.Documents.ChangeFeedProcessor.Monitoring.IHealthMonitor -> Microsoft.Azure.Documents.ChangeFeedProcessor.ChangeFeedProcessorBuilder
Public Function WithHealthMonitor (healthMonitor As IHealthMonitor) As ChangeFeedProcessorBuilder

Parameters

healthMonitor
IHealthMonitor

The instance of IHealthMonitor to use.

Returns

The instance of ChangeFeedProcessorBuilder to use.

Applies to