nerdexam
Microsoft

70-518 · Question #62

You are designing a Windows Presentation Foundation (WPF) application that uses .NET Framework 4. The application uses a subset of the functionality provided by a third-party COM component that will…

The correct answer is C. In the adapter assembly, use a standard interop reference. D. Create an adapter assembly that exposes the required subset of the COM component. See the full explanation below for the reasoning.

Question

You are designing a Windows Presentation Foundation (WPF) application that uses .NET Framework 4. The application uses a subset of the functionality provided by a third-party COM component that will be replaced later. The application developers must have access to only the required subset of functionality. You need to recommend a solution that meets the requirements. Which two actions should you recommend? (Each correct answer presents part of the solution. Choose two.)

Options

  • ACreate an adapter assembly that exposes the entire functionality of the COM component.
  • BIn the adapter assembly, use an embedded interop reference.
  • CIn the adapter assembly, use a standard interop reference.
  • DCreate an adapter assembly that exposes the required subset of the COM component

How the community answered

(35 responses)
  • A
    9% (3)
  • B
    14% (5)
  • C
    77% (27)

Community Discussion

No community discussion yet for this question.

Full 70-518 Practice