You are defining a class named MyClass that contai...
多选题

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

发布日期:2020-04-10

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.

热门试题

热门资讯

    暂无相关推荐~

分享给好友

分享到朋友圈

取消

使用浏览器的分享功能,把这篇文章分享出去

确定