nerdexam
Microsoft

70-513 · Question #330

70-513 Question #330: Real Exam Question with Answer & Explanation

Sign in or unlock 70-513 to reveal the answer and full explanation for question #330. The question stem and answer options stay visible for context.

Question

The company uses Visual Studio .NET Framework 4.0 as its application development platform. You has been given a task to create a WCF Service based on Framework 4.0. You is required to add the following code segment: (Line numbers are included for reference only.) 01 [ServiceContract(SessionMode=SessionMode.Required)] 02 public interface IInventoryManager 03 { 05 void CloseOrder(); 06 } You needs to decorate and manage the operation as the method that closes the current session method. Which of the following code statements should you insert at line number 04 to accomplish the task?

Options

  • A[OperationContract(IsTerminating=true)]
  • B[OperationContract(IsTerminating=false)]
  • C[OperationContract(IsInitiating=true)]
  • D[OperationContract(IsInitiating=false)]

Unlock 70-513 to see the answer

You've previewed enough free 70-513 questions. Unlock 70-513 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full 70-513 Practice