Click here to Skip to main content
12,354,177 members (69,565 online)
   

C#

 
GeneralRe: Thread.Sleep is NOT evil Pin
GuyThiebaut19-Feb-13 2:07
memberGuyThiebaut19-Feb-13 2:07 
GeneralRe: Thread.Sleep is NOT evil Pin
devvvy19-Feb-13 12:41
memberdevvvy19-Feb-13 12:41 
GeneralRe: Thread.Sleep is NOT evil Pin
BobJanova18-Feb-13 23:56
memberBobJanova18-Feb-13 23:56 
GeneralRe: Thread.Sleep is NOT evil Pin
Pete O'Hanlon19-Feb-13 0:02
protectorPete O'Hanlon19-Feb-13 0:02 
GeneralRe: Thread.Sleep is NOT evil Pin
devvvy19-Feb-13 1:55
memberdevvvy19-Feb-13 1:55 
AnswerRe: Thread.Sleep is NOT evil Pin
Eddy Vluggen18-Feb-13 22:32
mvpEddy Vluggen18-Feb-13 22:32 
GeneralRe: Thread.Sleep is NOT evil Pin
DaveyM6919-Feb-13 0:08
mentorDaveyM6919-Feb-13 0:08 
GeneralRe: Thread.Sleep is NOT evil Pin
devvvy19-Feb-13 1:44
memberdevvvy19-Feb-13 1:44 
QuestionError in connection string Pin
Member 964140618-Feb-13 3:56
memberMember 964140618-Feb-13 3:56 
AnswerRe: Error in connection string Pin
deflinek18-Feb-13 4:40
memberdeflinek18-Feb-13 4:40 
GeneralRe: Error in connection string Pin
Member 964140618-Feb-13 4:53
memberMember 964140618-Feb-13 4:53 
GeneralRe: Error in connection string Pin
deflinek18-Feb-13 22:32
memberdeflinek18-Feb-13 22:32 
QuestionEvil Thread.Abort and using(TransactionScope) -- what will happen? Pin
devvvy18-Feb-13 2:41
memberdevvvy18-Feb-13 2:41 
AnswerRe: Evil Thread.Abort and using(TransactionScope) -- what will happen? Pin
BobJanova18-Feb-13 2:59
memberBobJanova18-Feb-13 2:59 
At PT1 you haven't actually done anything with the scope, so even if it doesn't get cleaned up immediately, you haven't done anything which could damage your database.

What happens if it dies at PT2 is dependent on TransactionScope.Dispose, but I'd assume it does the right thing.

Thread.Abort is a blunt instrument, though, so it should only be used in extreme cases.
AnswerRe: Evil Thread.Abort and using(TransactionScope) -- what will happen? Pin
Eddy Vluggen18-Feb-13 3:01
mvpEddy Vluggen18-Feb-13 3:01 
AnswerRe: Evil Thread.Abort and using(TransactionScope) -- what will happen? Pin
Pete O'Hanlon18-Feb-13 4:51
protectorPete O'Hanlon18-Feb-13 4:51 
GeneralRe: Evil Thread.Abort and using(TransactionScope) -- what will happen? Pin
devvvy18-Feb-13 5:23
memberdevvvy18-Feb-13 5:23 
GeneralRe: Evil Thread.Abort and using(TransactionScope) -- what will happen? Pin
Pete O'Hanlon18-Feb-13 5:25
protectorPete O'Hanlon18-Feb-13 5:25 
GeneralRe: Evil Thread.Abort and using(TransactionScope) -- what will happen? Pin
devvvy18-Feb-13 5:53
memberdevvvy18-Feb-13 5:53 
GeneralRe: Evil Thread.Abort and using(TransactionScope) -- what will happen? Pin
jschell18-Feb-13 9:01
memberjschell18-Feb-13 9:01 
GeneralRe: Evil Thread.Abort and using(TransactionScope) -- what will happen? Pin
Pete O'Hanlon18-Feb-13 9:05
protectorPete O'Hanlon18-Feb-13 9:05 
GeneralRe: Evil Thread.Abort and using(TransactionScope) -- what will happen? Pin
jschell19-Feb-13 9:00
memberjschell19-Feb-13 9:00 
GeneralRe: Evil Thread.Abort and using(TransactionScope) -- what will happen? Pin
Pete O'Hanlon19-Feb-13 9:22
protectorPete O'Hanlon19-Feb-13 9:22 
GeneralRe: Evil Thread.Abort and using(TransactionScope) -- what will happen? Pin
jschell20-Feb-13 8:07
memberjschell20-Feb-13 8:07 
Questionmicrosoft SQL 2005 and dot NET Framework Pin
abbasnafiu18-Feb-13 1:28
memberabbasnafiu18-Feb-13 1:28 
AnswerRe: microsoft SQL 2005 and dot NET Framework Pin
Keith Barrow18-Feb-13 1:59
mentorKeith Barrow18-Feb-13 1:59 
GeneralRe: microsoft SQL 2005 and dot NET Framework Pin
abbasnafiu18-Feb-13 9:26
memberabbasnafiu18-Feb-13 9:26 
AnswerRe: microsoft SQL 2005 and dot NET Framework Pin
Member 964140618-Feb-13 4:00
memberMember 964140618-Feb-13 4:00 
GeneralRe: microsoft SQL 2005 and dot NET Framework Pin
Dave Kreskowiak18-Feb-13 4:55
mvpDave Kreskowiak18-Feb-13 4:55 
Questionc# middleware for distributed system Pin
Dioblos17-Feb-13 23:31
memberDioblos17-Feb-13 23:31 
AnswerRe: c# middleware for distributed system Pin
Garth J Lancaster17-Feb-13 23:47
memberGarth J Lancaster17-Feb-13 23:47 
GeneralRe: c# middleware for distributed system Pin
Dioblos18-Feb-13 0:10
memberDioblos18-Feb-13 0:10 
GeneralRe: c# middleware for distributed system Pin
Garth J Lancaster18-Feb-13 12:22
memberGarth J Lancaster18-Feb-13 12:22 
AnswerRe: c# middleware for distributed system Pin
devvvy18-Feb-13 5:20
memberdevvvy18-Feb-13 5:20 
GeneralRe: c# middleware for distributed system Pin
Dioblos18-Feb-13 12:55
memberDioblos18-Feb-13 12:55 
GeneralRe: c# middleware for distributed system Pin
Garth J Lancaster18-Feb-13 13:03
memberGarth J Lancaster18-Feb-13 13:03 
GeneralRe: c# middleware for distributed system Pin
Dioblos18-Feb-13 13:07
memberDioblos18-Feb-13 13:07 
GeneralRe: c# middleware for distributed system Pin
Garth J Lancaster18-Feb-13 13:18
memberGarth J Lancaster18-Feb-13 13:18 
GeneralRe: c# middleware for distributed system Pin
devvvy18-Feb-13 13:45
memberdevvvy18-Feb-13 13:45 
GeneralRe: c# middleware for distributed system Pin
Garth J Lancaster18-Feb-13 13:51
memberGarth J Lancaster18-Feb-13 13:51 
GeneralRe: c# middleware for distributed system Pin
devvvy18-Feb-13 13:53
memberdevvvy18-Feb-13 13:53 
GeneralRe: c# middleware for distributed system Pin
Dioblos19-Feb-13 23:30
memberDioblos19-Feb-13 23:30 
GeneralRe: c# middleware for distributed system Pin
Dioblos19-Feb-13 23:31
memberDioblos19-Feb-13 23:31 
GeneralRe: c# middleware for distributed system Pin
Garth J Lancaster20-Feb-13 0:11
memberGarth J Lancaster20-Feb-13 0:11 
GeneralRe: c# middleware for distributed system Pin
Dioblos19-Feb-13 23:29
memberDioblos19-Feb-13 23:29 
Questionretrieve images from server in bulk... Pin
sayeed bagban17-Feb-13 23:29
membersayeed bagban17-Feb-13 23:29 
AnswerRe: retrieve images from server in bulk... Pin
Garth J Lancaster17-Feb-13 23:45
memberGarth J Lancaster17-Feb-13 23:45 
GeneralRe: retrieve images from server in bulk... Pin
sayeed bagban18-Feb-13 0:28
membersayeed bagban18-Feb-13 0:28 
AnswerRe: retrieve images from server in bulk... Pin
Eddy Vluggen18-Feb-13 5:07
mvpEddy Vluggen18-Feb-13 5:07 
GeneralRe: retrieve images from server in bulk... Pin
sayeed bagban18-Feb-13 17:11
membersayeed bagban18-Feb-13 17:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.160621.1 | Last Updated 28 Jun 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid