IMQTransport.TryReceive(TimeSpan, Message, IMQNotifier, Byte[], String, String) Method

Definition

public:
 bool TryReceive(TimeSpan timeout, [Runtime::InteropServices::Out] System::ServiceModel::Channels::Message ^ % message, [Runtime::InteropServices::Out] System::ServiceModel::Channels::WebSphereMQ::IMQNotifier ^ % notifier, [Runtime::InteropServices::Out] cli::array <System::Byte> ^ % messageCorrelationId, [Runtime::InteropServices::Out] System::String ^ % replyToQueueManager, [Runtime::InteropServices::Out] System::String ^ % replyToQueue);
public bool TryReceive (TimeSpan timeout, out System.ServiceModel.Channels.Message message, out System.ServiceModel.Channels.WebSphereMQ.IMQNotifier notifier, out byte[] messageCorrelationId, out string replyToQueueManager, out string replyToQueue);
abstract member TryReceive : TimeSpan *  *  *  *  *  -> bool
Public Function TryReceive (timeout As TimeSpan, ByRef message As Message, ByRef notifier As IMQNotifier, ByRef messageCorrelationId As Byte(), ByRef replyToQueueManager As String, ByRef replyToQueue As String) As Boolean

Parameters

timeout
TimeSpan
message
Message
notifier
IMQNotifier
messageCorrelationId
Byte[]
replyToQueueManager
String
replyToQueue
String

Returns

Boolean

Applies to