Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7804265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T01:51:31+00:00 2026-06-02T01:51:31+00:00

I read so much articles about this subject and I still got some important

  • 0

I read so much articles about this subject and I still got some important and basic questions.
what is the purpose of transactions if it isnt use for SQL? how does it help me in wcf?
This article show an example of using simple transactions:

http://msdn.microsoft.com/en-us/library/ms172152(v=vs.90).aspx

what is the purpose of this code below if it isn’t for rolling back what ever they trying to restore in case the code fail?

    void RootMethod()
{
     using(TransactionScope scope = new TransactionScope())
     {
          /* Perform transactional work here */
          SomeMethod();
          scope.Complete();
     }
}

void SomeMethod()
{
     using(TransactionScope scope = new TransactionScope())
     {
          /* Perform transactional work here */
          scope.Complete();
     }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T01:51:32+00:00Added an answer on June 2, 2026 at 1:51 am

    Only resources supporting transactions participate in a transaction. Usually, this is only SQL Server. Message Queueing also supports transactions.

    If you don’t use any transaction-enabled resource (like normal variables…) this won’t do anything.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have read through some articles on this topic but I am still cautious
I've read much of the MySQL Cluster docs and some tutorials yet I still
In the past few months, I've read multiple articles about this new unobtrusive JavaScript
I've read much about vectors, buffer objects etc., and reviewed much of example application
I haven't read much about it, but the author at the link below recommends
I want to read how much data from 3G every app uses. Is this
As a relative newbie I try to read as much as I can about
Much I've read talks about the advantages of setting your UI up in IB.
I don't really know much about sockets except how to read and write to
I'd like to read some text about the compile-link-load process of a executable. In

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.