What should you do to ensure that the application calls a logging module?

You create a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5. The application uses InvokeWebServiceActivity activities. You need to ensure that the application calls a logging module when a Web service call completes. What should you do?

You create a Windows Workflow Foundation application by using Microsoft .NET Framework 3.5. The application uses InvokeWebServiceActivity activities. You need to ensure that the application calls a logging module when a Web service call completes. What should you do?

A.
Bind an event handler to the Invoking event of the InvokeWebServiceActivity activity. Call the logging module from the event handler.

B.
Bind an event handler to the Invoked event of the InvokeWebServiceActivity activity. Call the logging module from the event handler.

C.
Bind the StatusChanged event of the InvokeWebServiceActivity activity. If the current status is Executing call the logging module from its event handler.

D.
Bind the StatusChanged event of the InvokeWebServiceActivity activity. If the current status is Compensating call the logging module from its event handler.



Leave a Reply 0

Your email address will not be published. Required fields are marked *