可学答题网 > 问答 > MCPD(70-536)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

你正在定义个一叫做Certkiller的类,这个类包含如下内容. Cert


你正在定义个一叫做Certkiller的类,这个类包含如下内容. Certkiller类包含一个可以再对象上执行的叫做ProcessChildren的方法。 Cerkiller类的对象可以被序列化()

  • AApply the OnDeserializing attribute to the ProcessChildren method.
  • BSpecify that Certkiller Class implements the IDeserializationCallback interface.
  • CSpecify that Certkiller Class inherits from the ObjectManager class.
  • DApply the OnSerialized attribute to the ProcessChildren method.
  • ECreate a GetObjectData method that calls ProcessChildren.
  • FCreate an OnDeserialization method that calls ProcessChildren.
参考答案
参考解析:

IDeserializationCallback接口允许一些已完成的对象图后调用的自定义代码.通过onDeserialization方法反序列化。在这种情况下,应在onDeserialization方法中调用ProcessChildren。

分类:MCPD(70-536)题库