移动端

  • 题王微信公众号

    题王微信公众号

    微信搜“题王网”真题密题、最新资讯、考试攻略、轻松拿下考试

多选题

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?()

发布日期:2022-05-16

You are defining a class named MyClass that contai...
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.

标签: "暂无标签"

题王网让考试变得更简单

扫码关注题王,更多免费功能准备上线!