Which code segment should you use as the body of the StreamHistoricalFlights() method in the HistoricalDataLoader.es file?

Transformed historical flight information provided by the RemoteDataStream() method must
be written to the response stream as a series of XML elements named Flight within a root
element named Flights. Each Flight element has a child element named FlightName that
contains the flight name that starts with the two-letter airline prefix.

You need to implement the StreamHistoricalFlights() method so that it minimizes the amount
of memory allocated.
Which code segment should you use as the body of the StreamHistoricalFlights() method in
the HistoricalDataLoader.es file?

Transformed historical flight information provided by the RemoteDataStream() method must
be written to the response stream as a series of XML elements named Flight within a root
element named Flights. Each Flight element has a child element named FlightName that
contains the flight name that starts with the two-letter airline prefix.

You need to implement the StreamHistoricalFlights() method so that it minimizes the amount
of memory allocated.
Which code segment should you use as the body of the StreamHistoricalFlights() method in
the HistoricalDataLoader.es file?

A.
Option A

B.
Option B

C.
Option C

D.
Option D

Explanation:
http://msdn.microsoft.com/enus/library/system.xml.linq.xstreamingelement.aspx and
http://msdn.microsoft.com/enus/library/bb551307.aspx



Leave a Reply 0

Your email address will not be published. Required fields are marked *