70-503)  Exam

Exam # of questions Description  Update
70-503) 142 MS.NET Framework 3.5, Windows Communication Founda... 02/15/2011
[Practice Test]   [Download Study Guide(PDF)]  [Update Exam]

70-503) - Exam Information
  • Description:MS.NET Framework 3.5, Windows Communication Foundation Application
  • Passing Score:0%
  • Practice Test - Number of questions:142 questions
  • Simulation Test - Number of questions:142 questions
  • Simulation Test Duration:120 minutes
  • Has explanations:No

Question of the day

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. You write the following code segment. (Line numbers are included for reference only.) 01 [ServiceContract(Namespace="http://uri.contoso.com")] 02 public interface IMyService 03 { 04 [OperationContract] 05 string ProcessDetails(string s); 06 [OperationContract(Action="UpdateStatus")] 07 void UpdateStatus(); 08 09 } If the existing operation contract is unable to process a request made to the service, a generic operation contract must attempt to process the request. You need to create the generic operation contract. Which code segment should you insert at line 08?

Answer(s)

  1. [OperationContract(Action="*")]void ProcessOthers(Message msg);
  2. [OperationContract(Action="*")]void ProcessOthers();
  3. [OperationContract(Action="Default")]void ProcessOthers(Message msg);
  4. [OperationContract(Action="Default")]void ProcessOthers();
Correct Answer

[OperationContract(Action="*")]void ProcessOthers(Message msg);