Which class should you use?

You are building a client for a Windows Communication Foundation (WCF) service.
You need to create a proxy to consume this service. Which class should you use?

You are building a client for a Windows Communication Foundation (WCF) service.
You need to create a proxy to consume this service. Which class should you use?

A.
ChannelFactory<TChannel>

B.
ServiceHost

C.
ClientRuntime

D.
CommunicationObject

Explanation:
A factory that creates channels of different types that are used by clients to send messages to variously configured service endpoints.

ChannelFactory<TChannel> Class
(http://msdn.microsoft.com/en-us/library/ms576132.aspx)



Leave a Reply 1

Your email address will not be published. Required fields are marked *