Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

IMessageQueueOperations.ReceiveAndConvert(String) Method

Receives and convert a message synchronously from the specified message queue.

[Visual Basic]
Public Sub ReceiveAndConvert( _
   ByVal messageQueueObjectName As String _
)
[C#]
object ReceiveAndConvert(
   string messageQueueObjectName
);

Parameters

messageQueueObjectName
Name of the message queue object.

Return Value

the converted object

Exceptions

Exception Type Condition
MessageQueueException if thrown by MSMQ API methods. Note an exception will be thrown if the timeout of the syncrhonous recieve operation expires.

See Also

IMessageQueueOperations Interface | Spring.Messaging.Core Namespace | IMessageQueueOperations.ReceiveAndConvert Overload List