Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

EmsUtils.ConvertAcknowledgementMode Method

Converts the acknowledgement mode from an integer to an enumeration. If the integer does not match a valid enumeration, the returned enumeration is SessionMode.AutoAcknowledge

[Visual Basic]
Public Shared Sub ConvertAcknowledgementMode( _
   ByVal ackMode As Integer _
public static SessionMode ConvertAcknowledgementMode(
   int ackMode


The ack mode.

Return Value

The corresponding SessionMode enumeration

See Also

EmsUtils Class | Spring.Messaging.Ems.Support Namespace