CoreDispatcher.TryRunIdleAsync(IdleDispatchedHandler) CoreDispatcher.TryRunIdleAsync(IdleDispatchedHandler) CoreDispatcher.TryRunIdleAsync(IdleDispatchedHandler) CoreDispatcher.TryRunIdleAsync(IdleDispatchedHandler) Method

Definition

Attempts to schedule a callback on the UI thread from a worker thread at idle priority, and returns the results asynchronously.

public : IAsyncOperation<Platform::Boolean> TryRunIdleAsync(IdleDispatchedHandler agileCallback)
IAsyncOperation<bool> TryRunIdleAsync(IdleDispatchedHandler agileCallback) const;
public IAsyncOperation<bool> TryRunIdleAsync(IdleDispatchedHandler agileCallback)
Public Function TryRunIdleAsync(agileCallback As IdleDispatchedHandler) As IAsyncOperation(Of bool)

Parameters

agileCallback
IdleDispatchedHandler IdleDispatchedHandler

The callback on which the idle priority dispatcher returns when the event is dispatched.

Returns

The asynchronous operation.

See also