Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

WSA.Application.InvokeOnAppThread

static function InvokeOnAppThread(item: AppCallbackItem, waitUntilDone: bool): void;
static void InvokeOnAppThread(AppCallbackItem item, bool waitUntilDone);
static def InvokeOnAppThread(item as AppCallbackItem, waitUntilDone as bool) as void

Parameters

itemItem to execute.
waitUntilDoneWait until item is executed.

Description

Executes callback item on application thread.

More information on UI and application threads can be found [wiki:man:windowsstore-appcallbacks|here]].