1. Question: Which of the following attributes should you add to a member to prevent it from being serialized by BinaryFormatter? - VB.NET

    A
    NonSerialized

    B
    Serializable

    C
    SerializationException

    D
    SoapIgnore

    Note: Not available
    1. Report
  2. Question: Which of the following interfaces should you implement to enable you to run a method after an instance of your class is deserialized? - VB.NET

    A
    IFormatter

    B
    ISerializable

    C
    IDeserializationCallback

    D
    IObjectReference

    Note: Not available
    1. Report
  3. Question: Which of the following are requirements for a class to be serialized with XML serialization? (Choose all that apply.) - VB.NET

    A
    The class must be public.

    B
    The class must be private.

    C
    The class must have a parameterless constructor.

    D
    The class must have a constructor that accepts a SerializationInfo parameter.

    Note: Not available
    1. Report
  4. Question: Which of the following attributes would you use to cause a member to be serialized as an XML attribute, rather than as an XML element? - VB.NET

    A
    XmlAnyAttribute

    B
    XmlType

    C
    XmlElement

    D
    XmlAttribute

    Note: Not available
    1. Report
  5. Question: Which tool would you use to help you create a class that, when serialized, would produce an XML document that conformed to an XML schema? - VB.NET

    A
    Xsd.exe

    B
    Xdcmake.exe

    C
    XPadsi90.exe

    D
    Xcacls.exe

    Note: Not available
    1. Report
  6. Question: Which of the following attributes should you add to a member to prevent it from being serialized by XML serialization? - VB.NET

    A
    XmlType

    B
    XmlIgnore

    C
    XmlElement

    D
    XmlAttribute

    Note: Not available
    1. Report
  7. Question: Which parameters must a constructor accept if the class implements ISerializable? (Choose all that apply.) - VB.NET

    A
    SerializationInfo

    B
    Formatter

    C
    StreamingContext

    D
    ObjectManager

    Note: Not available
    1. Report
  8. Question: Which event would you use to run a method immediately before deserialization occurs? VB.NET

    A
    OnSerializing

    B
    OnDeserializing

    C
    OnSerialized

    D
    OnDeserialized

    Note: Not available
    1. Report
  9. Question: Which event would you use to run a method immediately after serialization occurs? - VB.NET

    A
    OnSerializing

    B
    OnDeserializing

    C
    OnSerialized

    D
    OnDeserialized

    Note: Not available
    1. Report
  10. Question: Which of the following are requirements for a method that is called in response to a serialization event? (Choose all that apply.) - VB.NET

    A
    Accept a StreamingContext object as a parameter.

    B
    Accept a SerializationInfo object as a parameter.

    C
    Return void.

    D
    Return a StreamingContext object.

    Note: Not available
    1. Report
Copyright © 2024. Powered by Intellect Software Ltd