Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains partition ownership information.
public class Lease
type Lease = class
Public Class Lease
Gets or sets the epoch year of the lease, which is a value you can use to determine the most recent owner of a partition between competing nodes.
Gets or sets the current value for the offset in the stream.
Gets or sets the host owner for the partition.
Gets the ID of the partition to which this lease belongs.
Gets or sets the last checkpointed sequence number in the stream.
Gets or sets the lease token that manages concurrency between hosts. You can use this token to guarantee single access to any resource needed by the IEventProcessor object.
Determines whether the lease is expired.