多做题,通过考试没问题!

微软认证考试

睦霖题库>其他计算机考试>微软认证考试

You are defining a class named MyClass that contains several child objects. MyClass contains a method named ProcessChildren that performs actions on the child objects.MyClass objects will be serializable.You need to ensure that the ProcessChildren method is executed after the MyClass object and all its child objects are reconstructed. Which two actions should you perform?()

  • A、Apply the OnDeserializing attribute to the ProcessChildren method.
  • B、Specify that MyClass implements the IDeserializationCallback interface.
  • C、Specify that MyClass inherits from the ObjectManager class.
  • D、Apply the OnSerialized attribute to the ProcessChildren method.
  • E、Create a GetObjectData method that calls ProcessChildren.
  • F、Create an OnDeserialization method that calls ProcessChildren.
正确答案:B,F
答案解析:
进入题库查看解析

微信扫一扫手机做题