DataSourceProvider.OnQueryFinished Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Derived classes call this method to indicate that a query has finished.
Overloads
OnQueryFinished(Object) |
Derived classes call this method to indicate that a query has finished. |
OnQueryFinished(Object, Exception, DispatcherOperationCallback, Object) |
Derived classes call this method to indicate that a query has finished. |
OnQueryFinished(Object)
Derived classes call this method to indicate that a query has finished.
protected:
void OnQueryFinished(System::Object ^ newData);
protected void OnQueryFinished (object newData);
member this.OnQueryFinished : obj -> unit
Protected Sub OnQueryFinished (newData As Object)
Parameters
- newData
- Object
The data that is the result of the query.
Remarks
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.
Applies to
OnQueryFinished(Object, Exception, DispatcherOperationCallback, Object)
Derived classes call this method to indicate that a query has finished.
protected:
virtual void OnQueryFinished(System::Object ^ newData, Exception ^ error, System::Windows::Threading::DispatcherOperationCallback ^ completionWork, System::Object ^ callbackArguments);
protected virtual void OnQueryFinished (object newData, Exception error, System.Windows.Threading.DispatcherOperationCallback completionWork, object callbackArguments);
abstract member OnQueryFinished : obj * Exception * System.Windows.Threading.DispatcherOperationCallback * obj -> unit
override this.OnQueryFinished : obj * Exception * System.Windows.Threading.DispatcherOperationCallback * obj -> unit
Protected Overridable Sub OnQueryFinished (newData As Object, error As Exception, completionWork As DispatcherOperationCallback, callbackArguments As Object)
Parameters
- newData
- Object
The data that is the result of the query.
- error
- Exception
The error that occurred while running the query. This value is null
if there is no error.
- completionWork
- DispatcherOperationCallback
Optional delegate that is used to execute completion work on the UI thread, for example, to set additional properties.
- callbackArguments
- Object
Optional arguments to send as a parameter with the completionWork
delegate.
Remarks
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.
Applies to
.NET