微软认证考试

You are developing a user control for Windows Presentation Foundation (WPF) application. The user control contains a button. Both the user control and the hosting control must receive the button click event. You need to ensure that the user control respo

题目

You are developing a user control for Windows Presentation Foundation (WPF) application. The user control contains a button. Both the user control and the hosting control must receive the button click event. You need to ensure that the user control responsd to the button click event before hosting control responds to the event. What should you do ?()

  • A、 Use a bubbling routed event. In the button click event handler, set the Handled property to True
  • B、 Use a bubbling routed event. In the button click event handler, set the Handled property to False
  • C、 Use a standard Microsoft .NET event. Set Handled property to true.
  • D、 Use a tunneling routed event. Set the handled property to false.
如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You are developing a Web application to display products. Products are displayed on different pages on your Web site. You want to create a user control to manage the display of products. You need a default visual implementation of the UI of the user control. In addition, you need to provide developers with the flexibility to change the layout and controls of the UI. Which three actions should you perform? ()

  • A、Apply the TemplateContainerAttribute to a property of type ITemplate. Pass the type of the template's naming container as the argument to the attribute.
  • B、Apply the TemplateContainerAttribute to the user control's class declaration.
  • C、Implement a property of type INamingContainer in the user control's code-behind class.
  • D、Implement a property of type ITemplate in the user control's code-behind class.
  • E、Define a new class that inherits from the ITemplate interface. Implement the InstantiateIn method of the ITemplate interface.

正确答案:A,D,E

第2题:

You have an Exchange Server 2010 organization.You have a user named User1 and a user named User2. You need to ensure that User1 can add User2 to the From field when he sends e-mail messages. Messages that have User2 in the From field must display only User2 as the message sender to recipients Who receive the messages. What should you use?()

  • A、Active Directory Users and Computers
  • B、Exchange Control Panel (ECP)
  • C、Exchange Management Console (EMC)
  • D、Microsoft Office Outlook

正确答案:C

第3题:

You install Windows Vista on a new computer by using the default settings. You create an administrator account and a standard user account.You log on to the computer as the standard user and attempt to install a new application. You are prompted for user credentials to complete the installation.You need to install the application on the computer.What should you do?()

A.A

B.B

C.C

D.D


参考答案:A

第4题:

You are developing an ASP.NET Web application. The application must pass an object that contains user-specific data between multiple pages. The object ismore than 100 KB in size when serialized.You need to minimize the amount of data is sent to the user. What should you do?()

  • A、Pass the object data in a hidden field.
  • B、Store the object instance in a session variable.
  • C、Use a cookie that contains the object data.
  • D、Encode the object data and pass it in a query string parameter.

正确答案:B

第5题:

You need to recommend a solution for storing user documents. What should you include in the recommendation?()

  • A、folder redirection
  • B、home folders
  • C、mandatory user profiles
  • D、roaming user profiles

正确答案:A

第6题:

You are developing a Windows Presentation Foundation (WPF) application The application is for commercial use and requires a valid license key to be entered. You create a project type of Class Library code to validate license keys You need to ensure that the user enters a valid license key during installation of the software. Which deployment should reference the class library?()

  • A、 Click Once
  • B、 Setup Project
  • C、 XBAP
  • D、 XCopy

正确答案:B

第7题:

You work as the application developer at Certkiller .com. Certkiller .com uses Visual Studio.NET 2005 as its application development platform. You are developing a Windows Service application. You need to change the security context in which the service runs. The service will be run in context of a non-privileged user on the local computer and present anonymous credentials to any remote server. You are required to set the Account property of the ServiceProcessInstaller class to specify the service account. What should you do?()

  • A、Use ServiceAccount.User.
  • B、Use ServiceAccount.LocalService.
  • C、Use ServiceAccount.LocalSystem.
  • D、Use ServceAccount.NetworkService.

正确答案:B

第8题:

You use two user accounts for your computer: standard user and administrator. You log on to your computer as standard user but are unable to make advanced configuration changes. You need to make advanced configuration changes while you are logged on as a standard user.What should you do?()

A.A

B.B

C.C

D.D


参考答案:C

第9题:

A user named User1 uses a computer that runs Windows XP Professional. You need to enable User1 to create local user accounts. You must minimize the rights assigned to the User1 account.  Which group should you add User1 to?() 

  • A、Administrators
  • B、Power Users
  • C、Users 
  • D、Network Configuration Operators

正确答案:B

第10题:

You install Microsoft Windows Vista on a computer.  You will share the computer with another user.  You need to prevent the user from making unauthorized changes to the computer.  What should you do? ()

  • A、Add the user to the Guests group.
  • B、Create a standard user account for the user.
  • C、Create an administrator account for the user.
  • D、Add the user to the Remote Desktop Users group.

正确答案:B

更多相关问题