Microsoft
70-513 · Question #35
70-513 Question #35: Real Exam Question with Answer & Explanation
Sign in or unlock 70-513 to reveal the answer and full explanation for question #35. The question stem and answer options stay visible for context.
Question
You are developing a client application that consumes a Windows Communication Foundation (WCF) service. You use the svcutil.exe utility to create a proxy for the service. You use the svcutil.exe switches that generate asynchronous calls. GetFlight is a service operation that takes no parameters and returns a string. The GetFlightCallback method must be called when the service operation returns. You create an instance of the client proxy with the following code: var client = new TranvelServiceClient(); You need to ensure that a callback is received when the GetFlight operation is called asynchronously. Which code segment should you use?
Options
- Aclient.BeginGetFlight(GetFlightCallback, null);
- Bclient.GetFlight();
- Cclient.GetFlightCompleted +=
- DIAsyncResult asyncResult = client.BeginGetFlight(
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.