/// <summary> /// Post a task for delayed execution on the specified thread. /// This function may be called on any thread. /// </summary> public static void PostTask(CefThreadId threadId, CefTask task, long delayMs) { var result = NativeMethods.cef_post_delayed_task((cef_thread_id_t)threadId, task.GetNativePointerAndAddRef(), delayMs) != 0; if (!result) { ThrowPostTaskError(); } }
/// <summary> /// Post a task for delayed execution on the specified thread. /// This function may be called on any thread. /// </summary> public static void PostTask(CefThreadId threadId, CefTask task, long delayMs) { var result = NativeMethods.cef_post_delayed_task((cef_thread_id_t)threadId, task.GetNativePointerAndAddRef(), delayMs) != 0; if (!result) ThrowPostTaskError(); }
/// <summary> /// Post a task for delayed execution on the specified thread. /// This function may be called on any thread. /// </summary> public static void Post(CefThreadId threadId, CefTask task, long delayMs) { Cef.PostTask(threadId, task, delayMs); }
/// <summary> /// Post a task for execution on the specified thread. /// This function may be called on any thread. /// </summary> public static void Post(CefThreadId threadId, CefTask task) { Cef.PostTask(threadId, task); }