You need to ensure that the transaction times out and aborts if the operation has not completed within 45 seconds

You are developing a Windows Communication Foundation (WCF) service that executes a
longrunning operation. The service is accessed from your business applications in a server
transaction in which the client does not participate. You need to ensure that the transaction
times out and aborts if the operation has not completed within 45 seconds. What should you
do?

You are developing a Windows Communication Foundation (WCF) service that executes a
longrunning operation. The service is accessed from your business applications in a server
transaction in which the client does not participate. You need to ensure that the transaction
times out and aborts if the operation has not completed within 45 seconds. What should you
do?

A.
Set the service binding sendTimeout attribute to 00:00:45.

B.
Apply f ServiceBehavior(TransaccionTlmeout=”00:00:45″)]to the service implementation.

C.
Set the service binding receiveTimeout attribute to 00:00:45.

D.
Apply [OperationBehavior (TransaccionScopeRequired=false)] to the service operation.

Explanation:



Leave a Reply 0

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