nerdexam
Microsoft

70-513 · Question #165

A Windows Communication Foundation (WCF) service has a callback contract. You are developing a client application that will call this service. You must ensure that the client application can…

The correct answer is C. On the client, create a proxy derived from DuplexClientBase(Of TChannel). See the full explanation below for the reasoning.

Question

A Windows Communication Foundation (WCF) service has a callback contract. You are developing a client application that will call this service. You must ensure that the client application can interact with the WCF service. What should you do?

Options

  • AOn the OperationContractAttribute, set the AsyncPattern property value to True.
  • BOn the OperationContractAttribute, set the ReplyAction property value to the endpoint
  • COn the client, create a proxy derived from DuplexClientBase(Of TChannel).
  • DOn the client, use GetCallbackChannel (Of T).

How the community answered

(48 responses)
  • A
    4% (2)
  • B
    8% (4)
  • C
    73% (35)
  • D
    15% (7)

Community Discussion

No community discussion yet for this question.

Full 70-513 Practice