共用方式為


DefaultQueueAdapterReceiverMonitor.TrackRead 方法

定義

追蹤從佇列讀取的嘗試。 追蹤每個佇列讀取作業。

public void TrackRead (bool success, TimeSpan callTime, Exception exception);
abstract member TrackRead : bool * TimeSpan * Exception -> unit
override this.TrackRead : bool * TimeSpan * Exception -> unit
Public Sub TrackRead (success As Boolean, callTime As TimeSpan, exception As Exception)

參數

success
Boolean

如果讀取成功,則為 True,如果讀取失敗則為 false。

callTime
TimeSpan

讀取作業所花費的時間。

exception
Exception

如果讀取失敗,則攔截到例外狀況。

實作

適用於