本文介绍了开发人员仪表板不显示所有mornitoredscope?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在一个方法中创建了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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-17 03:46