From b19a86c24c4cfea5f3d223628c2243b3ab28b3b0 Mon Sep 17 00:00:00 2001 From: Neeraj Makam Date: Tue, 16 Jul 2019 17:25:57 -0700 Subject: [PATCH] Updating xmldoc - remarks on MessageHandlerOptions.MaxAutoRenewDuration (#6951) Mentioning that there could be false-negative lockLost exceptions that could be raised. Related to #6723 --- .../Microsoft.Azure.ServiceBus/src/MessageHandlerOptions.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk/servicebus/Microsoft.Azure.ServiceBus/src/MessageHandlerOptions.cs b/sdk/servicebus/Microsoft.Azure.ServiceBus/src/MessageHandlerOptions.cs index 07e5ee08adae8..00f1e2b854fdd 100644 --- a/sdk/servicebus/Microsoft.Azure.ServiceBus/src/MessageHandlerOptions.cs +++ b/sdk/servicebus/Microsoft.Azure.ServiceBus/src/MessageHandlerOptions.cs @@ -64,6 +64,8 @@ public int MaxConcurrentCalls /// Gets or sets the maximum duration within which the lock will be renewed automatically. This /// value should be greater than the longest message lock duration; for example, the LockDuration Property. /// The maximum duration during which locks are automatically renewed. + /// The message renew can continue for sometime in the background + /// after completion of message and result in a few false MessageLockLostExceptions temporarily. public TimeSpan MaxAutoRenewDuration { get => this.maxAutoRenewDuration;