Download for Windows Premium
Publiciteit
then-Methode

Vertaling van "then-Methode" in Engels

We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
then method
Bei Verwendung einer Zusage können Sie die then-Methode für das zurückgegebene Zusagenobjekt aufrufen, um die Handler für Ergebnisse oder Fehler zuzuordnen.
When using a promise, you can call the then method on the returned promise object to assign the handlers for results or errors.
Wenn Sie nach Abschluss der PPL-Aufgabe eine Aktion im Hauptthread ausführen müssen, können Sie mit der task::then-Methode eine Fortsetzungsaufgabe erstellen.
If you need to do something in the main thread after a PPL task completes, use the task::then method to create a continuation task.
Sie können das Standardverhalten durch Übergeben eines zusätzlichen Kontextparameters an die task::then-Methode überschreiben.
You can override the default behavior by passing an additional continuation context parameter to the task::then method.
So können Sie mühelos Zusagen für verschiedene Werte und Vorgänge erstellen, ohne die Feinheiten der Urheber/Verbraucher-Beziehungen oder das Verhalten der then-Methode verwalten zu müssen.
This allows you to easily create promises around different values and operations without having to manage the details of the originator/consumer relationships or the behavior of then.
Wenn eine Aufgabe keine der IAsyncInfo-Schnittstellen einschließt, erzeugt die then-Methode eine Fortsetzung. Diese wird standardmäßig in einem Thread ausgeführt, der vom System aus dem Threadpool ausgewählt wird.
When a task doesn't wrap one of the IAsyncInfo interfaces, the then method produces a continuation that runs by default on a thread that the system chooses from the thread pool.
Wenn die erste Aufgabe in einer Fortsetzungskette einen asynchronen Windows-Runtime-Vorgang einschließt, werden die Fortsetzungen standardmäßig im gleichen Thread wie die task::then-Methode ausgeführt.
If the first task in a continuation chain wraps an asynchronous operation of the Windows Runtime, then by default the continuations run in the same thread as the task::then method.
Mit dem/ZW-Schalter wird der aktuelle Laufzeitkontext der Fortsetzung beim Aufrufen der task::then-Methode für eine Aufgabe, die ein IAsyncInfo-Objekt einschließt, als aktueller Kontext verwendet Der aktuelle Kontext ist der Thread, mit dem die then-Methode aufgerufen wurde.
With the/ZW switch, when you invoke the task::then method on a task that wraps an IAsyncInfo object, the default run-time context of the continuation is the current context. The current context is the thread that invoked the then method.
Die task::then-Methode erstellt Fortsetzungen, die, abhängig von der jeweiligen Konfiguration, im gleichen Thread oder in einem anderen Thread als die vorhergehende Aufgabe ausgeführt werden.
The task::then method creates continuations that run on the same thread or a different thread than the task that precedes them, depending on how you configure them.
Anschließend planen Sie eine Fortsetzung dieser Aufgabe, die mit dem Ergebnis der Funktion als Argument für die task::then-Methode im Hauptthread ausgeführt wird.
The following example modifies the previous one to use the concurrency::task::then method to schedule a continuation that prints the value of the antecedent task when it is available.
Um den während der Navigation aufgetretenen Fehler abzufangen, füge ich dem onError-Parameter der then-Methode, die von diesem Promise-Objekt verfügbar gemacht wird, eine Fehlerbehandlung hinzu.
To trap the error raised during navigation, I add an error handler to the onError parameter of the then method exposed by that Promise object.
Er zijn geen resultaten gevonden voor deze term.
Ga naar Premium voor toegang tot miljoenen vertaalvoorbeelden, onbeperkt woorden opslaan en leren, zonder advertenties.

Synoniemen voor then-Methode in het Duits

Publiciteit

Resultaten: 10. Exact: 10. Verstreken tijd: 23 ms.