Hot Area:

HOTSPOT
You are developing a Universal Windows Platform (UWP) app by using XAML and C#. A team member has written a XAML page that includes a button with an event handler method named ButtonSendNotification_Click
() registered to the Click event.
You are reviewing the following code segment written by the team member (line numbers are added for reference only):

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each selection is worth one point.
Hot Area:

HOTSPOT
You are developing a Universal Windows Platform (UWP) app by using XAML and C#. A team member has written a XAML page that includes a button with an event handler method named ButtonSendNotification_Click
() registered to the Click event.
You are reviewing the following code segment written by the team member (line numbers are added for reference only):

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each selection is worth one point.
Hot Area:

Answer:

Explanation:
Box 1: No
There are four tile sizes: small, medium, wide, large. Only three are reference in the TileNofitication definition.
Box 2: Yes
Box 3: No
Box 4: No
Line 42 is doc.LoadXml(xml);
The LoadXml method loads an XML document from a string. Returns TRUE on success or FALSE on failure.
If called statically, returns a DOMDocument or FALSE on failure.
If an empty string is passed as the source, a warning will be generated. This warning is not generated by libxml and cannot be handled using libxml’s error handling functions.
https://docs.microsoft.com/en-us/windows/uwp/controls-and-patterns/tiles-and-notifications-app-assets



Leave a Reply 0

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