How can this be achieved?

DRAG DROP
Exhibit:
<ServiceContract>
Public Interface IDataAccessService
<OperationContract>
Sub PassGuidePut(ByVal message As String)
<OperationContract>

<FaultContract(GetType(TimeoutFaultException))>
<FaultContract(GetType(FaultException))>
Function PassGuideSearch(ByVal search As String) As String()
End Interface
There is a WCF (Windows Communication Foundation) service.
The service implements the contract being displayed in the exhibit.
Database timeouts causes PassGuideSearch to throw TimeoutFaultException exceptions.
Other issues that causes problems for PassGuideSearch thows Exceptions.
The clients receives the exceptions as generic FaultException exceptions.
A new channel must be created on the client. New error handling code for PassGuideSearch must
be created. This code should only handle errors on the new channel.
How can this be achieved?

DRAG DROP
Exhibit:
<ServiceContract>
Public Interface IDataAccessService
<OperationContract>
Sub PassGuidePut(ByVal message As String)
<OperationContract>

<FaultContract(GetType(TimeoutFaultException))>
<FaultContract(GetType(FaultException))>
Function PassGuideSearch(ByVal search As String) As String()
End Interface
There is a WCF (Windows Communication Foundation) service.
The service implements the contract being displayed in the exhibit.
Database timeouts causes PassGuideSearch to throw TimeoutFaultException exceptions.
Other issues that causes problems for PassGuideSearch thows Exceptions.
The clients receives the exceptions as generic FaultException exceptions.
A new channel must be created on the client. New error handling code for PassGuideSearch must
be created. This code should only handle errors on the new channel.
How can this be achieved?

Answer:

Explanation:



Leave a Reply 0

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