Click here to Skip to main content
16,004,806 members
Home / Discussions / C#
   

C#

 
GeneralRe: How do I route events to a container class instead of main form? Pin
mike montagne27-Feb-07 13:29
mike montagne27-Feb-07 13:29 
Questionhow to call window application A into Window Application B Pin
Khoramdin27-Feb-07 8:16
Khoramdin27-Feb-07 8:16 
AnswerRe: how to call window application A into Window Application B Pin
Dave Kreskowiak27-Feb-07 8:31
mveDave Kreskowiak27-Feb-07 8:31 
AnswerRe: how to call window application A into Window Application B Pin
kubben27-Feb-07 8:39
kubben27-Feb-07 8:39 
AnswerRe: how to call window application A into Window Application B Pin
mike montagne27-Feb-07 10:23
mike montagne27-Feb-07 10:23 
QuestionAny one know a good tool Pin
Ennis Ray Lynch, Jr.27-Feb-07 8:03
Ennis Ray Lynch, Jr.27-Feb-07 8:03 
Questiontransactionscope and filesystem/sending emails Pin
::smithy::27-Feb-07 7:55
::smithy::27-Feb-07 7:55 
AnswerRe: transactionscope and filesystem/sending emails Pin
Dave Kreskowiak27-Feb-07 8:29
mveDave Kreskowiak27-Feb-07 8:29 
Not in the way youre trying to use it, no. It won't back any of this stuff out if one of the lines in the transaction fails. It's primary use is in database transactions, not file system or email.

There is no way for the transaction to know how to rollback these operations if any one of them fails. You'd have to write you own wrappers, around each operation, that implements the ITransaction interface (I think!), and supply the code to commit and rollback those operations should the need arise. Although, there's no way to rollback an email operation...

You can find out how the entire Transaction namespace works and relates here[^]

Dave Kreskowiak
Microsoft MVP - Visual Basic


GeneralRe: transactionscope and filesystem/sending emails Pin
::smithy::27-Feb-07 11:06
::smithy::27-Feb-07 11:06 
QuestionHelp with my class using Serial Port Class Pin
laura131627-Feb-07 7:50
laura131627-Feb-07 7:50 
AnswerRe: Help with my class using Serial Port Class Pin
Squeaker27-Feb-07 12:59
Squeaker27-Feb-07 12:59 
GeneralRe: Help with my class using Serial Port Class Pin
laura131627-Feb-07 16:21
laura131627-Feb-07 16:21 
GeneralRe: Help with my class using Serial Port Class Pin
Squeaker27-Feb-07 17:16
Squeaker27-Feb-07 17:16 
GeneralRe: Help with my class using Serial Port Class Pin
laura131627-Feb-07 17:26
laura131627-Feb-07 17:26 
GeneralRe: Help with my class using Serial Port Class Pin
Squeaker27-Feb-07 18:00
Squeaker27-Feb-07 18:00 
GeneralRe: Help with my class using Serial Port Class Pin
pbraun4-Mar-07 4:44
pbraun4-Mar-07 4:44 
GeneralRe: Help with my class using Serial Port Class Pin
Squeaker27-Feb-07 17:21
Squeaker27-Feb-07 17:21 
QuestionInformation needed Pin
JMOdom27-Feb-07 7:26
JMOdom27-Feb-07 7:26 
AnswerRe: Information needed Pin
DPRoberts27-Feb-07 9:25
DPRoberts27-Feb-07 9:25 
GeneralRe: Information needed Pin
mike montagne27-Feb-07 10:32
mike montagne27-Feb-07 10:32 
AnswerRe: Information needed Pin
Mark T.27-Feb-07 11:56
Mark T.27-Feb-07 11:56 
AnswerRe: Information needed Pin
Matthew Cuba28-Feb-07 4:19
Matthew Cuba28-Feb-07 4:19 
QuestionDateTime ToString and Construction Pin
mail57235227-Feb-07 7:22
mail57235227-Feb-07 7:22 
AnswerRe: DateTime ToString and Construction Pin
Stefan Troschuetz27-Feb-07 7:28
Stefan Troschuetz27-Feb-07 7:28 
AnswerRe: DateTime ToString and Construction Pin
Guffa27-Feb-07 9:02
Guffa27-Feb-07 9:02 

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.