ChangeFeedProcessorBuilder WithErrorNotification(ChangeFeedMonitorErrorDelegate errorDelegate) { if (errorDelegate == null) { throw new ArgumentNullException(nameof(errorDelegate)); } this.changeFeedProcessorOptions.HealthMonitor.SetErrorDelegate(errorDelegate); return(this); }
public void SetErrorDelegate(ChangeFeedMonitorErrorDelegate delegateCallback) { this.errorDelegate = delegateCallback; }