IQueueAdapterReceiverMonitor.TrackMessagesReceived 方法

定义

跟踪消息读取和每次成功读取所花费的时间。 跟踪每个成功的分区读取操作。

public void TrackMessagesReceived (long count, DateTime? oldestMessageEnqueueTimeUtc, DateTime? newestMessageEnqueueTimeUtc);
abstract member TrackMessagesReceived : int64 * Nullable<DateTime> * Nullable<DateTime> -> unit
Public Sub TrackMessagesReceived (count As Long, oldestMessageEnqueueTimeUtc As Nullable(Of DateTime), newestMessageEnqueueTimeUtc As Nullable(Of DateTime))

参数

count
Int64

已读消息。

oldestMessageEnqueueTimeUtc
Nullable<DateTime>

最早的消息排队时间 (UTC) 。

newestMessageEnqueueTimeUtc
Nullable<DateTime>

最新的消息排队时间 (UTC) 。

适用于