Peeks the message that matches the given correlation ID. If there is no message with a matching correlation ID, an exception is thrown.
[Visual Basic] Overloads Overridable Public Function PeekByCorrelationId( _ ByVal correlationId As String _ ) As Message [C#] public virtual Message PeekByCorrelationId( string correlationId ); [C++] public: virtual Message* PeekByCorrelationId( String* correlationId ); [JScript] public function PeekByCorrelationId( correlationId : String ) : Message;
The message with a matching correlation ID.
MessageQueue Class | MessageQueue Members | System.Messaging Namespace | MessageQueue.PeekByCorrelationId Overload List