What should you do to create a custom service behavior to add a fault message handler?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. Client applications receive the original fault messages that the service generates. You need to create a custom service behavior to add a fault message handler to all channel dispatchers. What should you do?

You are creating a Windows Communication Foundation service by using Microsoft .NET Framework 3.5. Client applications receive the original fault messages that the service generates. You need to create a custom service behavior to add a fault message handler to all channel dispatchers. What should you do?

A.
Extend the ExceptionHandler class to create a fault message handler.Implement the IEndpointBehavior interface to create a custom behavior to add the fault message handler to all channel dispatchers.

B.
Implement the IErrorHandler interface to create a fault message handler.Implement the IServiceBehavior interface to create a custom behavior to add a fault message handler to all channel dispatchers.

C.
Implement the IClientMessageInspector interface to create a fault message handler.Implement the IEndpointBehavior interface to create a custom behavior to add a fault message handler to all channel dispatchers.

D.
Implement the IClientMessageFormatter interface to create a fault message handler.Implement the IServiceBehavior interface to create a custom behavior to add the fault message handler to all channel dispatchers.



Leave a Reply 1

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


Irrigation Drip System

Irrigation Drip System

Perfectly written content, Really enjoyed studying.