다음을 통해 공유


ServiceBusOptions.MaxAutoLockRenewalDuration Property

Definition

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 default value is 5 minutes. This does not apply for functions that receive a batch of messages. To specify an infinite duration, use InfiniteTimeSpan or -00:00:00.0010000 if specifying via host.json.

public TimeSpan MaxAutoLockRenewalDuration { get; set; }
member this.MaxAutoLockRenewalDuration : TimeSpan with get, set
Public Property MaxAutoLockRenewalDuration As TimeSpan

Property Value

Applies to