How should the client channed be implemented?

DRAG DROP
Exhibit:
<ServiceContract(CallbackContract =GetType(INameService))>
Public Interface IGreetingService
<OperationContract>
Function PassGuideMessage() As String
End Interface
<ServiceContract>
Public Interface INameService
<OperationContract>
Function PassGuideName() As String
End Interface

There is a WCF (Windows Communication Foundation) solution PassGuideSol, which is using
some contracts being displayed in the exhibit.
Whenever the client uses PassGuideMessage on the service interface, the service uses the client
callback to call PassGuideName. Within the client the callback contract is implemented by the
NameService class.
The service callback must processed by an instance of NameService.
How should the client channed be implemented?

DRAG DROP
Exhibit:
<ServiceContract(CallbackContract =GetType(INameService))>
Public Interface IGreetingService
<OperationContract>
Function PassGuideMessage() As String
End Interface
<ServiceContract>
Public Interface INameService
<OperationContract>
Function PassGuideName() As String
End Interface

There is a WCF (Windows Communication Foundation) solution PassGuideSol, which is using
some contracts being displayed in the exhibit.
Whenever the client uses PassGuideMessage on the service interface, the service uses the client
callback to call PassGuideName. Within the client the callback contract is implemented by the
NameService class.
The service callback must processed by an instance of NameService.
How should the client channed be implemented?

Answer:

Explanation:



Leave a Reply 0

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