Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

EmsTemplate.Execute(SessionDelegate) Method

Execute the action specified by the given action object within a EMS Session.

[Visual Basic]
Public NotOverridable Overloads Sub Execute( _
   ByVal del As SessionDelegate _
) _
    Implements IEmsOperations.Execute
[C#]
public object Execute(
   SessionDelegate del
);

Parameters

del
delegate that exposes the session

Return Value

the result object from working with the session

Implements

IEmsOperations.Execute

Remarks

Note that the value of PubSubDomain affects the behavior of this method. If PubSubDomain equals true, then a Session is passed to the callback. If false, then a Session is passed to the callback.

b

Exceptions

Exception TypeCondition
EMSExceptionIf there is any problem accessing the EMS API

See Also

EmsTemplate Class | Spring.Messaging.Ems.Core Namespace | EmsTemplate.Execute Overload List