Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

EmsUtils.RollbackIfNecessary Method

Rollback the Session if not within a distributed transaction.

[Visual Basic]
Public Shared Sub RollbackIfNecessary( _
   ByVal session As ISession _
)
[C#]
public static void RollbackIfNecessary(
   ISession session
);

Parameters

session
the EMS Session to rollback

Remarks

Needs investigation - no distributed tx in EMS

See Also

EmsUtils Class | Spring.Messaging.Ems.Support Namespace