More actions

Local Services

Tags:  


Workflows interact with local services in these two ways:
  1. Calling a method on a local service
  2. Waiting for an event to be raised by a local service
Calling a method on a local service is done synchronously using the thread from the current workflow instance. This means that the method shouldn’t perform long-running tasks that will block the workflow thread for a long period of time.

Use the GetService method to obtain a reference to the service and call one of the methods
defined by the service interface.


0 Comments  Show recent to old
Post a comment



 RSS of this page

Written by:   Version:   Last Edited By:   Modified