Which of the following actions will you take to accomplish the task?

Posted by: Pdfprep Category: GSSP-.NET Tags: , ,

You work as a Software Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create an application using the .NET Framework. You create a class named Master that contains numerous child objects. The Master class contains a method named ProcessChild that executes actions on the child objects. The Master class objects will be serializable. You must ensure that the ProcessChild method is executed subsequent to the Master class object and all its child objects are reformed.

Which of the following actions will you take to accomplish the task? Each correct answer represents a part of the solution. Choose two.
A . Create an OnDeserialization method that calls the ProcessChild method.
B . Apply the OnDeserializingAttribute class to the ProcessChild method.
C . Specify that the Master class implements the IDeserializationCallback interface.
D . Apply OnSerializedAttribute to the ProcessChild method.
E . Specify that the Master class inherits from the ObjectManager class.

Answer: A,C

Leave a Reply

Your email address will not be published.