Tells MTS to abort the transactionint sm_mts_SetAbort(void);
sm_mts_SetAbortmarks the current transaction invalid. The object will be destroyed upon return to MTS from the current method.
This function can be called even if the object is not in a transaction. The effect is to cause the object to be destroyed. Thus this call says that the object is done with its work and the transaction should be rolled back (when all other parties have finished their work).
For more details see the SetAbort method under IObjectContextMethods in the MTS documentation.
Note that this function requires an object context and therefore cannot be used in the constructor of a service component.