欢迎来到建筑考试题库网 建筑考试题库官网
全部科目 > 微软认证考试 > MCPD > MCPD(70-536)

多项选择题

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.

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题