Export (0) Print
Expand All

DataSourceProvider.OnQueryFinished Method (Object, Exception, DispatcherOperationCallback, Object)

Derived classes call this method to indicate that a query has finished.

Namespace:  System.Windows.Data
Assembly:  WindowsBase (in WindowsBase.dll)

Protected Overridable Sub OnQueryFinished ( _
	newData As Object, _
	error As Exception, _
	completionWork As DispatcherOperationCallback, _
	callbackArguments As Object _


Type: System.Object

The data that is the result of the query.

Type: System.Exception

The error that occurred while running the query. This value is Nothing if there is no error.

Type: System.Windows.Threading.DispatcherOperationCallback

Optional delegate that is used to execute completion work on the UI thread, for example, to set additional properties.

Type: System.Object

Optional arguments to send as a parameter with the completionWork delegate.

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

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft