Table of Contents

Method OnQueryFinished

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

OnQueryFinished(object)

A concrete data provider will call this method to indicate that a query has finished.

protected void OnQueryFinished(object newData)

Parameters

newData object

Remarks

This callback can be called from any thread, this implementation will marshal back the result to the UI thread before setting any of the public properties and before raising any events.

resulting data from query

OnQueryFinished(object, Exception, DispatcherOperationCallback, object)

A concrete data provider will call this method to indicate that a query has finished.

protected virtual void OnQueryFinished(object newData, Exception error, DispatcherOperationCallback completionWork, object callbackArguments)

Parameters

newData object
error Exception
completionWork DispatcherOperationCallback
callbackArguments object

Remarks

This callback can be called from any thread, this implementation will marshal back the result to the UI thread before setting any of the public properties and before raising any events.

resulting data from query error that occured while running query; null signals no error optional delegate to execute completion work on UI thread, e.g. setting additional properties optional arguments to send as parameter with the completionWork delegate