70-511 Exam Dumps PDF&VCE Free Download From Braindump2go (171-180)

MICROSOFT NEWS: 70-511 Exam Questions has been Updated Today! Get Latest 70-511 VCE and 70-511 PDF Instantly! Welcome to Download the Newest Braindump2go 70-511 VCE&70-511 PDF Dumps: http://www.braindump2go.com/70-511.html (300 Q&As)

100% Pass 70-511 Real Test is not a dream! Braindump2go Latest Released 70-511 Exam Practice Exam Dumps will help you pass 70-511 Exam one time easiluy! Free Sample Exam Questions and Answers are offered for free download now! Quickly having a try today! Never loose this valuable chance!

Exam Code: 70-511
Exam Name: TS: Windows Applications Development with Microsoft .NET Framework 4
Certification Provider: Microsoft
Corresponding Certifications: MCPD, MCPD: Windows Developer 4, MCTS, MCTS: Microsoft .NET Framework 4, Windows Applications

70-511 Dumps PDF,70-511 PDF,70-511 VCE,70-511 eBook,70-511 Study Guide,70-511 Certification,70-511 Exam Questions,70-511 Book,70-511 Dump,70-511 eBook PDF,70-511 Exam Preparation,70-511 Dumps Free,70-511 Braindumps,70-511 Practice Tests,70-511 Practice Exam,70-511 Practice Test Free,70-511 TS: Windows Applications Development with Microsoft .NET Framework 4

QUESTION 171
You are developing a Windows Presentation Foundation (WPF) application.
An event triggers a workflow such that a parent control executes the event handlers before the child controls.
You need to ensure that if a parent control’s event handler encounters an error, the subsequent handlers are not called.
What should you do?

A.    Use handlers for a tunneling routed event and mark the event as handled in the case of a
problem.
B.    Use handlers for a tunneling routed event and mark the event as handled in the Finally
portion of a Try-Catch-Finally code block.
C.    Use handlers for a bubbling routed event and mark the event as handled in the case of a
problem.
D.    Use handlers for a bubbling routed event and set the Handled property of the
RoutedEventArgs object to True in the Catch portion of a Try-Catch-Finally code block.

Answer: D

QUESTION 172
You use Microsoft .NET Framework to create a Windows Presentation Foundation (WPF) application.
You create a window that contains a Button control and a MenuItem control.
Both controls are labeled “Add sugar.”
The Command properties of the Button and MenuItem controls are set to the same RoutedCommand named AddSugarCommand.
You write the following code segment.
Private Sub CanAddSugar(sender As Object, e As CanExecuteRoutedEventArgs) …
End Sub
You need to ensure that when the CanAddSugar method sets e.CanExecute to false, the MenuItem and Button controls are disabled.
What should you do?

A.    Create an event handler for the CanExecuteChanged event of the AddSugarCommand
command. Call the CanAddSugar method from within the event handler.
B.    Inherit the AddSugarCommand from the RoutedUICommand class instead of the
RoutedCommand class. Call the CanAddSugar method from within the constructor of the
AddSugarCommand command.
C.    Add a CommandBinding object to the CommandBinding property of the MenuItem control.
Set the CanExecute property of the CommandBinding object to the CanAddSugar method.
D.    Add a CommandBinding object to the CommandBindings property of the window.
Set the Command property of CommandBinding to the AddSugarCommand command.
Set the CanExecute property of the CommandBinding object to the CanAddSugar method.

Answer: D

QUESTION 173
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You write the following code fragment. (Line numbers are included for reference only)
You need to ensure that a video file begins to play only when a user clicks Play.
Which code fragment should you insert at line 06?


A.    < MediaElement Source=”media\ numbers.wmv ” Name=” myMediaElement ”
Width=”450″ Height=”250″
LoadedBehavior =”Play” UnloadedBehavior =”Stop” Stretch=’Till,,/>
B.    < MediaElement Source=”media\ numbers.wmv ” Name=” myMediaElement ”
Width=”450″ Height=”250″
LoadedBehavior =”Manual” UnloadedBehavior -“Stop” Stretch«”Fill”/>
C.    < MediaPlayer Source=”media\ numbers.wmv ” Name=” myMediaElement ”
Width=,f450″ Height=”250″
LoadedBehavior =”Play” UnloadedBehavior =”Stop” Stretch=”FillM/>
D.    < MediaPlayer Source=”media\ numbers.wmv ” Name=” myMediaElement ”
Width=”450″ Height=”250″
LoadedBehavior =”Manual” UnloadedBehavior =”Stop” Stretch=”Fill”/>

Answer: B

QUESTION 174
You are developing a Windows Presentation Foundation (WPF) application.
You configure PresentationTraceSource to track errors in a bound TextBox control in the application.
You need to choose the window that the Trace information is sent to.
Which Visual Studio window should you select?

A.    Autos
B.    Immediate
C.    Locals
D.    Output

Answer: D

QUESTION 175
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You discover that when the application runs, a user control is not rendered correctly.
You need to find out the user interface (UI) element of the window that is causing the rendering problem.
What should you do?

A.    Use the Local Window.
B.    Use the WPF Visualizer.
C.    Generate a trace log by using IntelliTrace.
D.    Set a breakpoint at the control. Run the application.

Answer: A

QUESTION 176
You create a Microsoft Windows Installer file for a Windows Presentation Foundation (WPF) application that requires Microsoft .NET Framework 4.
You need to ensure that the installation starts only if .NET Framework 4 is already installed on the computer.
What should you do?

A.    Use a custom action.
B.    Set the MinVersion property to .NET Framework 4.
C.    Set the Version property of Windows Installer to .NET Framework 4.
D.    Set the Version property of the Launch Condition to .NET Framework 4.

Answer: D

QUESTION 177
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application.
You use the ClickOnce deployment methodology to distribute the application.
You need to store application-specific data along with read/write permissions without requiring elevated permissions for the application.
Where should you store the application data?

A.    In isolated storage
B.    On the database server
C.    In the ClickOnce data directory
D.    in the App.config file of the application

Answer: A

QUESTION 178
You are developing a Windows Presentation Foundation (WPF) application.
You are implementing a test strategy for the application.
You need to ensure that the test class can repeat user input.
From which base class should the test class inherit?

A.    AutomationElementIdentifier
B.    AutomationPeer
C.    Keyboard
D.    UICues

Answer: B

QUESTION 179
You are developing a Windows Presentation Foundation (WPF) application with the following class. (Line numbers are included for reference only.)
The UI is not being updated when the Data property is set.
You need to ensure that the DisplayData class correctly updates the UI when the Data property is set.
What should you do?


A.    Insert the following code at line 15.
Not ifyPropertyChanged(“Data”)
B.    Insert the following code at line 17.
NotifyPropertyChanged(“Data”)
C.    Insert the following code at line 15.
NotifyPropertyChanged(value)
D.    insert the following line at line 17.
NotifyPropertyChanged(value)

Answer: C

QUESTION 180
You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application named MyApp.exe.
You use Microsoft Windows Installer to package the application.
You create an icon file named Application.ico.
You need to associate Application.ico with MyApp.exe when MyApp.exe is deployed.
What should you do?

A.    Use the File Types Editor tool.
B.    Rename the icon file to MyApp.exe.ico.
C.    Set the AddRemoveProgramsIcon property to Application.ico.
D.    Use the File System Editor tool to set the Icon property to Application.ico.

Answer: D


Braindump2go 70-511 Latest Updaed Braindumps Including All New Added 70-511 Exam Questions from Exam Center which Guarantees You Can 100% Success 70-511 Exam in Your First Try Exam!


FREE DOWNLOAD: NEW UPDATED 70-511 PDF Dumps & 70-511 VCE Dumps from Braindump2go: http://www.braindump2go.com/70-511.html (300 Q&A)

Comments are closed.