PartitionManagerOptions.LeaseInterval Property
Gets or sets the interval at which the lease is created on an Azure Blob representing an Event Hubs partition. If the lease is not renewed within this interval, it expires, and ownership of the partition passes to another EventProcessorHost instance.
Namespace: Microsoft.ServiceBus.Messaging
Assembly: Microsoft.ServiceBus.Messaging.EventProcessorHost (in Microsoft.ServiceBus.Messaging.EventProcessorHost.dll)
Syntax
public TimeSpan LeaseInterval { get; set; }
public:
property TimeSpan LeaseInterval {
TimeSpan get();
void set(TimeSpan value);
}
member LeaseInterval : TimeSpan with get, set
Public Property LeaseInterval As TimeSpan
Property Value
Type: System.TimeSpan
Returns TimeSpan.
See Also
PartitionManagerOptions Class
Microsoft.ServiceBus.Messaging Namespace
Return to top