This documentation is archived and is not being maintained.
.NET Framework 2.0
Peeks a message that matches a given correlation identifier.
|MessageQueue.PeekByCorrelationId (String)||Peeks the message that matches the given correlation identifier and immediately raises an exception if no message with the specified correlation identifier currently exists in the queue. Supported by the .NET Compact Framework.|
|MessageQueue.PeekByCorrelationId (String, TimeSpan)||Peeks the message that matches the given correlation identifier and waits until either a message with the specified correlation identifier is available in the queue, or the time-out expires. Supported by the .NET Compact Framework.|