Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

NmsTemplate.IsSessionLocallyTransacted Method

Determines whether the given Session is locally transacted, that is, whether its transaction is managed by this template class's Session handling and not by an external transaction coordinator.

[Visual Basic]
Protected Overridable Sub IsSessionLocallyTransacted( _
   ByVal session As ISession _
)
[C#]
protected virtual bool IsSessionLocallyTransacted(
   ISession session
);

Parameters

session
The session to check.

Return Value

true if the session is locally transacted; otherwise, false.

Remarks

The Session's own transacted flag will already have been checked before. This method is about finding out whether the Session's transaction is local or externally coordinated.

See Also

NmsTemplate Class | Spring.Messaging.Nms.Core Namespace