70-310  Exam

Exam # of questions Description  Update
70-310 210 ` Microsoft 70-310 Developing XML Web Ser... 02/15/2011
[Practice Test]    [Download Study Guide(PDF)]   [Update Exam]

70-310 - Exam Information
  • Description: ` Microsoft 70-310 Developing XML Web Services and Server Components with Microsoft Visual Basic .NET
  • Passing Score: 75%
  • Practice Test - Number of questions: 210 questions
  • Simulation Test - Number of questions: 210 questions
  • Simulation Test Duration: 41 minutes
  • Has explanations: Yes

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)

  1. Implement the ITransaction interface in the TestKingTrader class.
  2. To the PurchaseStock method, add the following attribute:
  3. To the TestKingTrader class, add the following attribute:
  4. To the TestKingTrader class, add the following attribute:
  5. To the PurchaseStock method, add the following code segment: If (ContextUtil.IsInTransaction) Then ContectUtil.SetComplete() End If
Correct Answer

Implement the ITransaction interface in the TestKingTrader class.

To the TestKingTrader class, add the following attribute: