| 70-310 Exam |
| 70-310 - Exam Information |
| Question of the day |
You are a software developer at IT department. You create a serviced component named IT departmentTrader that processes stock traders. IT departmentTrader uses multiple transactional data sources to verify and execute a stock trade. The IT departmentTrader class includes the following code segment: Public Class IT departmentTrader Inherits ServicedComponent Public Sub PurchaseStock(ByVal c as Customer, _ ByVal o as Order) ' Method implementation goes here. End Sub End Class You want to ensure that the PurchaseStock method either successfully completes the trade or reliably aborts the trade. Which two actions should you take? (Each correct answer presents part of the solution. Choose two)
Answer(s)
Implement the ITransaction interface in the TestKingTrader class.
To the TestKingTrader class, add the following attribute: