追求梦想,程序人生。

IPluginExecutionContext的CallerOrigin属性

可以通过这个属性来判断触发plugin的源。

有四个可能值,

  • ApplicationOrigin someone took action on a form
  • AsyncServiceOrigin workflow or an asynchronous plugin
  • OfflineOrigin offline
  • WebServiceApiOrigin webpage or synchronous plugin or callout

posted on 2010-05-14 16:13  伊默宁  阅读(162)  评论(0)    收藏  举报