GetFullEnumerationChangeBatch 方法
从非托管提供程序中获取变更批,作为完全枚举的一部分。
命名空间: Microsoft.Synchronization
程序集: Microsoft.Synchronization(在 Microsoft.Synchronization.dll 中)
语法
声明
Public Overrides Function GetFullEnumerationChangeBatch ( _
batchSize As UInteger, _
lowerEnumerationBound As SyncId, _
knowledgeForDataRetrieval As SyncKnowledge, _
<OutAttribute> ByRef changeDataRetriever As Object _
) As FullEnumerationChangeBatch
用法
Dim instance As UnmanagedSyncProviderWrapper
Dim batchSize As UInteger
Dim lowerEnumerationBound As SyncId
Dim knowledgeForDataRetrieval As SyncKnowledge
Dim changeDataRetriever As Object
Dim returnValue As FullEnumerationChangeBatch
returnValue = instance.GetFullEnumerationChangeBatch(batchSize, _
lowerEnumerationBound, knowledgeForDataRetrieval, _
changeDataRetriever)
public override FullEnumerationChangeBatch GetFullEnumerationChangeBatch(
uint batchSize,
SyncId lowerEnumerationBound,
SyncKnowledge knowledgeForDataRetrieval,
out Object changeDataRetriever
)
public:
virtual FullEnumerationChangeBatch^ GetFullEnumerationChangeBatch(
unsigned int batchSize,
SyncId^ lowerEnumerationBound,
SyncKnowledge^ knowledgeForDataRetrieval,
[OutAttribute] Object^% changeDataRetriever
) override
abstract GetFullEnumerationChangeBatch :
batchSize:uint32 *
lowerEnumerationBound:SyncId *
knowledgeForDataRetrieval:SyncKnowledge *
changeDataRetriever:Object byref -> FullEnumerationChangeBatch
override GetFullEnumerationChangeBatch :
batchSize:uint32 *
lowerEnumerationBound:SyncId *
knowledgeForDataRetrieval:SyncKnowledge *
changeDataRetriever:Object byref -> FullEnumerationChangeBatch
public override function GetFullEnumerationChangeBatch(
batchSize : uint,
lowerEnumerationBound : SyncId,
knowledgeForDataRetrieval : SyncKnowledge,
changeDataRetriever : Object
) : FullEnumerationChangeBatch
参数
- batchSize
类型:System. . :: . .UInt32
要包含在返回的变更批中的变更数。
- lowerEnumerationBound
类型:Microsoft.Synchronization. . :: . .SyncId
要枚举的项 ID 的封闭下限。此方法返回其项 ID 大于或等于此值的变更。
- knowledgeForDataRetrieval
类型:Microsoft.Synchronization. . :: . .SyncKnowledge
指定已了解其数据的项的知识对象。
- changeDataRetriever
类型:System. . :: . .Object%
返回一个可用于检索变更数据的对象。
返回值
类型:Microsoft.Synchronization. . :: . .FullEnumerationChangeBatch
来自非托管提供程序的变更批。
异常
异常 | 条件 |
---|---|
InvalidOperationException | 此 UnmanagedSyncProviderWrapper 对象未初始化。 |
ArgumentNullException | lowerEnumerationBound 或 knowledgeForDataRetrieval 为 null Nothing nullptr unit null 引用(在 Visual Basic 中为 Nothing) 。 |
注释
此方法对非托管 IKnowledgeSyncProvider::GetFullEnumerationChangeBatch 方法进行包装。
如果已指定变更数据检索器适配器,则此方法会在其返回 changeDataRetriever 之前将非托管提供程序返回的变更数据检索器转换为该检索器的托管表示形式。否则,将在不进行任何转换的情况下返回变更数据检索器。