Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
基于给定过滤器,返回队列深度。
Public Function GetQueueDepth( ByVal address As String, ByVal filter As QueueDepthFilter ) As Integer
public int GetQueueDepth(string address, QueueDepthFilter filter)
filter filter 指示进来的消息、外发的消息或全部消息。
address 队列名。
消息数。
QAException 类 如果出现错误,则抛出异常。
进来的队列深度是指没有被接收(如使用 QAManagerBase.GetMessage)的进来的消息的数量。队列的外发深度是指尚未被传输到服务器的外发消息的数量(包括未提交的外发消息)。