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.
Explanation:
http://msdn.microsoft.com/en-us/library/system.servicemodel.dispatcher.ierrorhandler.aspx