NotifyingChangeApplierIChangeDataRetrieverAdapter.ConvertUnmanagedToManaged Method
Converts an unmanaged ISynchronousDataRetriever to a managed IChangeDataRetriever.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Function ConvertUnmanagedToManaged ( _
unmanagedRetriever As Object _
) As Object
'Usage
Dim instance As NotifyingChangeApplierIChangeDataRetrieverAdapter
Dim unmanagedRetriever As Object
Dim returnValue As Object
returnValue = instance.ConvertUnmanagedToManaged(unmanagedRetriever)
public Object ConvertUnmanagedToManaged(
Object unmanagedRetriever
)
public:
virtual Object^ ConvertUnmanagedToManaged(
Object^ unmanagedRetriever
) sealed
abstract ConvertUnmanagedToManaged :
unmanagedRetriever:Object -> Object
override ConvertUnmanagedToManaged :
unmanagedRetriever:Object -> Object
public final function ConvertUnmanagedToManaged(
unmanagedRetriever : Object
) : Object
Parameters
- unmanagedRetriever
Type: System.Object
The unmanaged 3a85a836-6626-41f8-bce7-de49e1c015c0 ISynchronousDataRetriever object.
Return Value
Type: System.Object
The managed IChangeDataRetriever object.
Implements
IChangeDataRetrieverAdapter.ConvertUnmanagedToManaged(Object)
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | unmanagedRetriever is a null reference (Nothing in Visual Basic). |
ArgumentException | unmanagedRetriever is neither an ISynchronousDataRetriever nor an IAsynchronousDataRetriever. |