public IEnumerable <(string Key, string Error)> ValidateResource(IQueue resource, QueueHealthCheckOptions options) { if (resource == null) { throw new ArgumentNullException(nameof(resource)); } if (options == null) { throw new ArgumentNullException(nameof(options)); } return(Check(options.IsDeadLetteringEnabledForExpiredMessages, resource.IsDeadLetteringEnabledForExpiredMessages)); }
public IEnumerable <(string Key, string Error)> ValidateResource(IQueue resource, QueueHealthCheckOptions options) { if (resource == null) { throw new ArgumentNullException(nameof(resource)); } if (options == null) { throw new ArgumentNullException(nameof(options)); } return(Check(options.MaxDeliveryCountBeforeDeadLetteringMessage, resource.MaxDeliveryCountBeforeDeadLetteringMessage)); }
public IEnumerable <(string Key, string Error)> ValidateResource(IQueue resource, QueueHealthCheckOptions options) { if (resource == null) { throw new ArgumentNullException(nameof(resource)); } if (options == null) { throw new ArgumentNullException(nameof(options)); } return(Check(options.DeleteOnIdleDurationInMinutes, resource.DeleteOnIdleDurationInMinutes)); }
public IEnumerable <(string Key, string Error)> ValidateResource(IQueue resource, QueueHealthCheckOptions options) { if (resource == null) { throw new ArgumentNullException(nameof(resource)); } if (options == null) { throw new ArgumentNullException(nameof(options)); } return(Check(options.DuplicateMessageDetectionHistoryDuration, resource.DuplicateMessageDetectionHistoryDuration)); }
public IEnumerable <(string Key, string Error)> ValidateResource(IQueue resource, QueueHealthCheckOptions options) { if (resource == null) { throw new ArgumentNullException(nameof(resource)); } if (options == null) { throw new ArgumentNullException(nameof(options)); } return(Check(options.IsDuplicateDetectionEnabled, resource.IsDuplicateDetectionEnabled)); }
public IEnumerable <(string Key, string Error)> ValidateResource(IQueue resource, QueueHealthCheckOptions options) { if (resource == null) { throw new ArgumentNullException(nameof(resource)); } if (options == null) { throw new ArgumentNullException(nameof(options)); } return(Check(options.MaxSizeInMB, resource.MaxSizeInMB)); }