UnmanagedSyncProviderWrapper Class

Represents a managed object that wraps an unmanaged synchronization provider.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.SyncProvider
    Microsoft.Synchronization.KnowledgeSyncProvider
      Microsoft.Synchronization.UnmanagedSyncProviderWrapper
        Microsoft.Synchronization.Files.FileSyncProvider
        Microsoft.Synchronization.SimpleProviders.UnmanagedSimpleSyncProviderWrapper

Namespace:  Microsoft.Synchronization
Assembly:  Microsoft.Synchronization (in Microsoft.Synchronization.dll)

Syntax

'Declaration
Public Class UnmanagedSyncProviderWrapper _
    Inherits KnowledgeSyncProvider
'Usage
Dim instance As UnmanagedSyncProviderWrapper
public class UnmanagedSyncProviderWrapper : KnowledgeSyncProvider
public ref class UnmanagedSyncProviderWrapper : public KnowledgeSyncProvider
type UnmanagedSyncProviderWrapper =  
    class
        inherit KnowledgeSyncProvider
    end
public class UnmanagedSyncProviderWrapper extends KnowledgeSyncProvider

The UnmanagedSyncProviderWrapper type exposes the following members.

Constructors

  Name Description
Public method UnmanagedSyncProviderWrapper() Initializes a new instance of the UnmanagedSyncProviderWrapper class.
Public method UnmanagedSyncProviderWrapper(Object) Initializes a new instance of the UnmanagedSyncProviderWrapper class that represents the specified unmanaged provider.
Public method UnmanagedSyncProviderWrapper(Object, IChangeDataRetrieverAdapter) Initializes a new instance of the UnmanagedSyncProviderWrapper class that represents the specified unmanaged provider and uses the specified change data retriever adapter to convert between managed and unmanaged data retrievers.

Top

Properties

  Name Description
Public property Configuration Gets the configuration settings for the provider. (Inherited from KnowledgeSyncProvider.)
Public property DestinationCallbacks Gets an object that a synchronization application can use to register to receive notification of events that occur during synchronization. (Inherited from KnowledgeSyncProvider.)
Public property IdFormats Gets the ID format schema of the unmanaged provider. (Overrides KnowledgeSyncProvider.IdFormats.)

Top

Methods

  Name Description
Public method BeginSession Notifies the unmanaged provider that it is joining a synchronization session. (Overrides KnowledgeSyncProvider.BeginSession(SyncProviderPosition, SyncSessionContext).)
Public method EndSession Notifies the unmanaged provider that a synchronization session to which it was enlisted has finished. (Overrides KnowledgeSyncProvider.EndSession(SyncSessionContext).)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetChangeBatch Gets a batch of changes from the unmanaged provider. (Overrides KnowledgeSyncProvider.GetChangeBatch(UInt32, SyncKnowledge, Object%).)
Public method GetFullEnumerationChangeBatch Gets a batch of changes from the unmanaged provider as part of a full enumeration. (Overrides KnowledgeSyncProvider.GetFullEnumerationChangeBatch(UInt32, SyncId, SyncKnowledge, Object%).)
Public method GetHashCode (Inherited from Object.)
Public method GetSyncBatchParameters Gets the requested batch size and current knowledge for the scope from the unmanaged provider. (Overrides KnowledgeSyncProvider.GetSyncBatchParameters(UInt32%, SyncKnowledge%).)
Public method GetType (Inherited from Object.)
Public method Initialize Initializes the wrapper so that it represents the specified unmanaged provider and uses the specified change data retriever adapter to convert between managed and unmanaged data retrievers.
Protected method MemberwiseClone (Inherited from Object.)
Public method ProcessChangeBatch Passes a batch of changes to the unmanaged provider for processing. (Overrides KnowledgeSyncProvider.ProcessChangeBatch(ConflictResolutionPolicy, ChangeBatch, Object, SyncCallbacks, SyncSessionStatistics).)
Public method ProcessFullEnumerationChangeBatch Passes a batch of changes to the unmanaged provider for processing during a full enumeration. (Overrides KnowledgeSyncProvider.ProcessFullEnumerationChangeBatch(ConflictResolutionPolicy, FullEnumerationChangeBatch, Object, SyncCallbacks, SyncSessionStatistics).)
Public method ToString (Inherited from Object.)

Top

Remarks

This class can be used by managed code to easily interact with an unmanaged synchronization provider. It wraps an unmanaged provider, to which it forwards all method and property calls.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Synchronization Namespace