Share via


Queue.LockDuration Property

Gets the lock duration timespan associated with this queue.

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

Syntax

'Declaration
Public Property LockDuration As Nullable(Of TimeSpan)
    Get
    Private Set
'Usage
Dim instance As Queue
Dim value As Nullable(Of TimeSpan)

value = instance.LockDuration
public Nullable<TimeSpan> LockDuration { get; private set; }
public:
property Nullable<TimeSpan> LockDuration {
    Nullable<TimeSpan> get ();
    private: void set (Nullable<TimeSpan> value);
}
member LockDuration : Nullable<TimeSpan> with get, private set
function get LockDuration () : Nullable<TimeSpan>
private function set LockDuration (value : Nullable<TimeSpan>)

Property Value

Type: System.Nullable<TimeSpan>
A nullable TimeSpan value.

See Also

Reference

Queue Class

Microsoft.ServiceBus.Messaging Namespace