IWithMessageLockDuration.WithMessageLockDurationInSeconds(Int32) Method

Definition

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 Microsoft.Azure.Management.ServiceBus.Fluent.Subscription.Definition.IWithCreate WithMessageLockDurationInSeconds (int durationInSeconds);
abstract member WithMessageLockDurationInSeconds : int -> Microsoft.Azure.Management.ServiceBus.Fluent.Subscription.Definition.IWithCreate
Public Function WithMessageLockDurationInSeconds (durationInSeconds As Integer) As IWithCreate

Parameters

durationInSeconds
System.Int32

Duration of a lock in seconds.

Returns

IWithCreate

Applies to