70-529  Exam

Exam # of questions Description  Update
70-529 69 Microsoft 70-529 TS: Microsoft .NET Framework 2.0... 02/15/2011
[Practice Test]   [Download Study Guide(PDF)]  [Update Exam]

70-529 - Exam Information
  • Description:Microsoft 70-529 TS: Microsoft .NET Framework 2.0 - Distributed Application Development
  • Passing Score:75%
  • Practice Test - Number of questions:69 questions
  • Simulation Test - Number of questions:69 questions
  • Simulation Test Duration:41 minutes
  • Has explanations:Yes

Question of the day

You write a .NET Framework remoting application that broadcasts messages to client computers through a central server by raising events on the client computers. Message details are contained in an argument in the event delegate, as shown in the following code segment. public delegate void MessageArrivedHandler(BroadcastEventArgs args); public class BroadcastEventArgs { public string Message; public string Sender; public DateTime TimeSent; } You need to ensure that the client computer can access the message details contained in the event argument. Your solution cannot change the common language runtime (CLR) security restrictions. What should you do?

Answer(s)

  1. Apply the Serializable attribute to the BroadcastEventArgs object.
  2. Change the BroadcastEventArgs class so that it extends the MarshalByRefObject object.
  3. Add the well-known type named BroadcastEventArgs in the server and configure the WellKnownObjectMode mode as SingleCall.
  4. In the client application's remoting configuration file, make the BroadcastEventArgs class a client-activated object (CAO) that points to the server.
Correct Answer

Apply the Serializable attribute to the BroadcastEventArgs object.