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

Posted by: Pdfprep Category: 70-487 Tags: , ,

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

Answer: D

Explanation:

http://msdn.microsoft.com/en-us/library/system.xml.linq.xstreamingelement.aspx and http://msdn.microsoft.com/en-us/library/bb551307.aspx

Leave a Reply

Your email address will not be published.