Unmanaged code:

Florin wrote sample on this topic


Managed code:

#1 (.NET 2.0)


For this to work, of course, the following must be true:


  • Each of the parties must be addressable to the other.
  • Each of the parties must be able to send RPCs to the other

#2(.NET 3.0):

If you are using WCF,WCF can export transaction context information in the soap message,remote service can use this transaction context info and can join transaction