问题描述
我在一个方法中创建了mornitoredscope,该方法在文档库项目的ItemUpdating和ItemUpdated事件中都被调用。
using(new SPMonitoredScope(" Custom_SPItemEventReceiverBoundToWorkItemTimerJob_DoTheWorkOrCheckPreRequisite"))
我可以看到"输入
监视范围
(Custom_SPItemEventReceiverBoundToWorkItemTimerJob_DoTheWorkOrCheckPreRequisite)。
Parent Custom_SPItemEventReceiverBoundToWorkItemTimerJob_OrchestrateTheWork"在ULS日志中出现两次,一次用于ItemUpdating,一次用于ItemUpated。但在开发人员仪表板上,它仅出现在ItemUpdating中。
I created mornitoredscope in a method which was called in both ItemUpdating and ItemUpdated event for a document library item.
using (new SPMonitoredScope("Custom_SPItemEventReceiverBoundToWorkItemTimerJob_DoTheWorkOrCheckPreRequisite"))
I can see "Entering
monitored scope
(Custom_SPItemEventReceiverBoundToWorkItemTimerJob_DoTheWorkOrCheckPreRequisite).
Parent Custom_SPItemEventReceiverBoundToWorkItemTimerJob_OrchestrateTheWork" appear twice in ULS log, one for ItemUpdating and one for ItemUpated. But on developer dashboard, it only appear for ItemUpdating.
这篇关于开发人员仪表板不显示所有mornitoredscope?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!