MessageReceiver.OnPeek(TrackingContext, Int64, Int32, TimeSpan) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Executes upon calling the Peek operation.
protected virtual System.Collections.Generic.IEnumerable<Microsoft.ServiceBus.Messaging.BrokeredMessage> OnPeek (Microsoft.ServiceBus.Tracing.TrackingContext trackingContext, long fromSequenceNumber, int messageCount, TimeSpan timeout);
abstract member OnPeek : Microsoft.ServiceBus.Tracing.TrackingContext * int64 * int * TimeSpan -> seq<Microsoft.ServiceBus.Messaging.BrokeredMessage>
override this.OnPeek : Microsoft.ServiceBus.Tracing.TrackingContext * int64 * int * TimeSpan -> seq<Microsoft.ServiceBus.Messaging.BrokeredMessage>
Protected Overridable Function OnPeek (trackingContext As TrackingContext, fromSequenceNumber As Long, messageCount As Integer, timeout As TimeSpan) As IEnumerable(Of BrokeredMessage)
Parameters
- trackingContext
- TrackingContext
The tracking context.
- fromSequenceNumber
- Int64
The sequence number from where to peek.
- messageCount
- Int32
The number of message.
- timeout
- TimeSpan
The time span the operation waits before it times out.
Returns
The messages peeked.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по