What are different transaction options?

Answer Posted / rahul bhute

We can specify transaction in 3 ways in WCF:-

TransactionFlowOption.NotAllowed

This is a default option. Using this option no transaction
will be propagated across the binding. If any client
attempts to call the WCF service in a transaction it will
be ignored for this option.

TransactionFlowOption.Allowed

This option specifies that client can call this WCF service
in a transaction. It’s not compulsory that the service
needs to be called in a transaction. You can call without
the transaction also.

TransactionFlowOption.Mandatory

This option specifies that client must call the WCF service
in a transaction mode. If the WCF service is called without
transaction, ‘FaultException’ will be raised.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the use of duration attribute of @outputcache page directive.

605


Explain the difference between sql invalidation and sql notification.

549


Difference between application events and session events

578


How to prepare culture-specific formatting in .net.

501


What is the main function of url routing system in asp.net mvc? : asp.net mvc

480






What are the Types of objects in ASP

575


Explain the code Access Security (CAS) in .net Framework?

660


What is the difference between rest and restful?

526


Explain about consistent programming model in the .NET framework?

579


From which base class all web forms are inherited?

489


What is the recommended approach for asp.net mvc to globally intercept exceptions? What other functionality can be implemented with the approach? : Asp.Net MVC

486


How to create multi language website in asp.net mvc? : Asp.Net MVC

486


In order to bind the data from a data source to the Repeater control what property is set and what method must you call in your code,?

583


What are the differences between the response.write() and response.output.write()?

523


What is the adavantage of using ASP.NET routing?

638