SALES: 1-800-867-1380

QueueDescription::LockDuration Property

Gets or sets the duration of a peek lock; that is, the amount of time that the message is locked for other receivers. The maximum value for LockDuration is 5 minutes; the default value is 1 minute.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)

public:
property TimeSpan LockDuration {
	TimeSpan get ();
	void set (TimeSpan value);
}

Property Value

Type: System::TimeSpan
The duration of the lock.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft