Microsoft
70-513 · Question #273
70-513 Question #273: Real Exam Question with Answer & Explanation
Sign in or unlock 70-513 to reveal the answer and full explanation for question #273. The question stem and answer options stay visible for context.
Question
You are creating a Windows Communication Foundation (WCF) service. You do not want to expose the internal implementation at the service layer. You need to expose the following class as a service named Arithmetic with an operation named Sum. Public Class Calculator Public Function Add (ByVal x As Integer, ByVal y As Integer) As Integer End Function End Class Which code segment should you use?
Options
- A<ServiceContract(Namespace:="Arithmetic")>
- B<ServiceContract(ConfigurationName:="Arithmetic")>
- C<ServiceContract(Name:="Arithmetic")>
- D<ServiceContract(Name:="Arithmetic")>
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.