初始化 FeedClockVectorElement 類別的新執行個體 (Instance),這個執行個體包含指定的複寫機碼、滴答計數、同步處理時間和選項旗標。
命名空間: Microsoft.Synchronization.FeedSync
組件: Microsoft.Synchronization (在 microsoft.synchronization.dll)
語法
'宣告
Public Sub New ( _
replicaKey As UInteger, _
tickCount As ULong, _
syncTime As Nullable(Of DateTime), _
flags As FeedClockVectorElementOptions _
)
'用途
Dim replicaKey As UInteger
Dim tickCount As ULong
Dim syncTime As Nullable(Of DateTime)
Dim flags As FeedClockVectorElementOptions
Dim instance As New FeedClockVectorElement(replicaKey, tickCount, syncTime, flags)
public FeedClockVectorElement (
uint replicaKey,
ulong tickCount,
Nullable<DateTime> syncTime,
FeedClockVectorElementOptions flags
)
public:
FeedClockVectorElement (
unsigned int replicaKey,
usigned long long tickCount,
Nullable<DateTime> syncTime,
FeedClockVectorElementOptions flags
)
public FeedClockVectorElement (
UInt32 replicaKey,
UInt64 tickCount,
Nullable<DateTime> syncTime,
FeedClockVectorElementOptions flags
)
public function FeedClockVectorElement (
replicaKey : uint,
tickCount : ulong,
syncTime : Nullable<DateTime>,
flags : FeedClockVectorElementOptions
)
參數
- replicaKey
這個時鐘向量元素所追蹤之複寫的複寫機碼。
- tickCount
滴答計數,此計數會定義這個時鐘向量元素內所包含之滴答計數範圍的上限。
- syncTime
對應至項目之 when 值的同步處理時間值。
- flags
指定有關此元素之其他資訊的旗標。
請參閱
參考
FeedClockVectorElement 類別
FeedClockVectorElement 成員
Microsoft.Synchronization.FeedSync 命名空間