QuestionQ298

Develop and test code

You create a method that uses the Async framework.

You need to capture the result from calling the Async method.

Which three elements should be included in the signature or parameters of the result method? Each correct answer presents part of the solution.

> NOTE: Each correct selection is worth one point.

Choose three
  • A void
  • B static
  • C Boolean
  • D AsyncTaskResult
  • E container
Explanation

An X++ class callback that handles an asynchronous operation result is a static void method that receives an AsyncTaskResult parameter. The callback retrieves any returned container through the AsyncTaskResult object’s result member; container is therefore not itself required in the callback signature or parameter list.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!