Range Constructor
Initializes a new instance of the Range class that contains the specified closed lower bound item ID and a clock vector that defines what is known about the items in the range.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Sub New ( _
itemId As SyncId, _
clockVector As IClockVector _
)
'Usage
Dim itemId As SyncId
Dim clockVector As IClockVector
Dim instance As New Range(itemId, _
clockVector)
public Range(
SyncId itemId,
IClockVector clockVector
)
public:
Range(
SyncId^ itemId,
IClockVector^ clockVector
)
new :
itemId:SyncId *
clockVector:IClockVector -> Range
public function Range(
itemId : SyncId,
clockVector : IClockVector
)
Parameters
- itemId
Type: Microsoft.Synchronization.SyncId
The closed lower bound on the item IDs in the range.
- clockVector
Type: Microsoft.Synchronization.IClockVector
A clock vector that defines what is known about the items in the range.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A required parameter is a null reference (Nothing in Visual Basic). |
Remarks
The range is a set of item IDs that begins at the closed lower bound specified by itemId and ends at the open upper bound specified by the ItemId property of the next Range in the parent RangeSet.