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

参数

返回值

类型:Microsoft.Synchronization. . :: . .FullEnumerationChangeBatch
来自非托管提供程序的变更批。

异常

异常 条件
InvalidOperationException

UnmanagedSyncProviderWrapper 对象未初始化。

ArgumentNullException

lowerEnumerationBound 或 knowledgeForDataRetrieval 为 null Nothing nullptr unit null 引用(在 Visual Basic 中为 Nothing) 。

注释

此方法对非托管 IKnowledgeSyncProvider::GetFullEnumerationChangeBatch 方法进行包装。

如果已指定变更数据检索器适配器,则此方法会在其返回 changeDataRetriever 之前将非托管提供程序返回的变更数据检索器转换为该检索器的托管表示形式。否则,将在不进行任何转换的情况下返回变更数据检索器。

请参阅

参考

UnmanagedSyncProviderWrapper类

UnmanagedSyncProviderWrapper 成员

Microsoft.Synchronization 命名空间