| 70-503) Exam |
| 70-503) - Exam Information |
| 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)
[OperationContract(Action="*")]void ProcessOthers(Message msg);