Microsoft
70-513 · Question #302
70-513 Question #302: Real Exam Question with Answer & Explanation
Sign in or unlock 70-513 to reveal the answer and full explanation for question #302. The question stem and answer options stay visible for context.
Question
A Windows Communication Foundation (WCF) solution uses the following contract. [ServiceContract(SessionMode SessionModeAllowed)] public interface IMyService { [OperaionContractQsTerminating false) void lnitialize0; [OperaionContractQslnitiating false)] Void DoSomethingO; [OperaionContractQsTerminating true)J void TerminateO; } You need to change this interface so that: `Initialize is allowed to be called any time before Terminate is called "DoSomething is allowed to be called only after Initialize is called, and n allowed to be called after Terminate is called "Terminate will be lowed to be called only after Initialize is called Which two actions should you perform (Each correct answer presents part of the solution. Choose two)
Options
- AChange the ServiceContract attribute of the IMyService interface to the following.
- BChange the ServiceContract attribute of the IMyService interface to the following.
- CChange the OperationContract attribute of the Initialize operation to the following.
- DChange the OperationContract attribute of the Terminate operation to the following.
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.