共用方式為


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

Parameters

durationInSeconds
Int32

Duration of a lock in seconds.

Returns

Applies to