ServiceBusSubscription.DefinitionStages.WithMessageLockDuration.withMessageLockDurationInSeconds(int durationInSeconds) 方法
定义
Specifies the amount of time that the message is locked for other receivers. Note: unless it is explicitly overridden the default lock duration is 60 seconds, the maximum allowed value is 300 seconds.
public WithCreate withMessageLockDurationInSeconds(int durationInSeconds)
参数
- durationInSeconds
- int
duration of a lock in seconds
返回
the next stage of subscription definition