Practicetest 70-502 Microsoft it-exams

Practicetest 70-502 Microsoft it-exams

70-502 TS: Microsoft .NET Framework 3.5 – Windows Presentation Foundation our products come with a 100% guarantee of success. We hold this claim because of the highly dedicated and expert team that we have and because of our past performance.

IT Exam,IT Certification,braindump,original questions, question pool,document, braindump, test questions, test question, dumps, test answers, it-exams.com, preparation, pdf, certification questions, answers Certification, certification test, practice test, exam dumps, certification training, answers real questions

Practicetest 70-502 Microsoft it-exams

QUESTION 1
You create an assembly by using Microsoft .NET Framework 3.5.
The assembly creates a new text file in the root of the C: drive. The assembly will be used in a Windows Presentation Foundation standalone application. The assembly will also be used in a Windows Presentation Foundation XAML Browser Application (XBAP).
The assembly contains the following code segment.
(Line numbers are included for reference only.)

01 public void Save()
02 {
03
04 FileStream stream = File.Create("c:\newfile.txt");
05 try
06 {
07 StreamWriter writer = new StreamWriter(stream);
08 try
09 {
10 writer.WriteLine("Bew line in text file");
11 }
12 finally
13 {
14 writer.Dispose();
15 }
16 }
17 finally
18 {
19 stream.Dispose();
20 }
21
22 }

You need to ensure that the assembly functions without propagating errors in both standalone and XBAP applications.
What should you do?

A. Configure the assembly to use the Nothing Permission set.
B. Configure the assembly to use the Partial Trust Permission set.
C. Demand the FileIOPermissionAccess.Write permission in line 03 and add an exception handler at line 21.
D. Demand the FileIOPermissionAccess.Append permission in line 03 and add an exception handler at line 21.

Answer: C


QUESTION 2
Your company has deployed a Windows Presentation Foundation application on client computers by using the ClickOnce technology.
The application interrupts the users in their tasks by prompting them to look for updates. You need to ensure that the application automatically detects updates without blocking the users interaction with the application.
What should you do?

A. Call the ApplicationDeployment.CheckForUpdate() function from the startup routine of the application.
B. Add an expiration element to the deployment manifest file. Set the maximumAge attribute to 24 and the unit attribute to hour.
C. Add the beforeApplicationStartup element to the deployment manifest file.
Configure a schedule job to launch another instance of the application in the background once a day.
D. Add a System.Windows.Threading.DispatcherTimer object and the ApplicationDeployment.CheckForUpdateAsync() function to the code-behind file.
Set the Interval property of the System.Windows.Threading.DispatcherTimer object to 1 day.

Answer: D


QUESTION 3
You create a Windows Presentation Foundation application by using Microsoft .NET Framework 3.5.
You perform the following two tasks:
Use a digital certificate that is generated by an internal certificate authority (CA) to sign the application.
Store the application files on a central Web site.
You instruct the users to access the Web site and start the application by using the ClickOnce technology. The users report that their attempts to start the application fail.
You need to ensure that the users can use the application.
What should you do?

A. Deploy the digital certificate on the Trusted Publisher store of the Web server.
B. Deploy the digital certificate on the Trusted Publisher store of each client computer.
C. Redeploy the application by using Microsoft Visual Studio 2005 Publish Wizard.
D. Recompile the application by using a key file that is generated by the sn.exe file.

Answer: B

Practicetest 70-502 Microsoft it-exams

User Status

Du bist nicht angemeldet.

Aktuelle Beiträge

Microsoft 70-517 Praxisfragen
Wir liefern allen Kunden vor dem Einkauf der Prüfung...
nina008 - 28. Nov, 07:28
70-491 zertifizierungsprüfung
70-491 zertifizierungsprüfung gilt weltweit als eines...
nina008 - 28. Nov, 07:27
70-494 Schulungsunterlagen
Für Praxisprüfung haben wir zertifizierung-portal.de z wei...
nina008 - 28. Nov, 07:25
70-533 Prüfungsvorbereitung
Die detaillierten Analyse und Erläuterungen von den...
nina008 - 28. Nov, 07:23
MB4-873 aktuelles Zertifizierungsprogramm
MB4-873 aktuelles Zertifizierungsprogramm mit den neuen...
nina008 - 25. Nov, 10:02

Links

Suche

 

Status

Online seit 4669 Tagen
Zuletzt aktualisiert: 13. Jul, 03:46

Credits


70-491
70-494
70-517
70-533
77-603
MB4-873
MB4-874
Profil
Abmelden
Weblog abonnieren