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
How can we communicate with each server in N-tier Architecture? and what are the methods?
How do you use viewstate?
What is the advantage of using Windows authentication in a Web application?
Can you explain composite pattern?
How do you declare static variable?
How to change Master page in ASP.Net using code?
What is strong-typing versus weak-typing?
What is the server of asp.net?
What are the different properties of server control that exists?
How to sign out from forms authentication?
Which type if caching will be used if we want to cache the portion of a page instead of whole page?
What is data control in asp.net?
What is the difference between the asp and asp.net?
What is difference between Server.Transfer and Response.Redirect in ASP.NET?
What is the default authentication mode for asp.net?