Raj*_*esh 2 dynamics-crm dynamics-crm-2015 dynamics-crm-2016 dynamics-365
我遇到了一个面试问题,我从朋友和同伴那里得到了不同的答案,所以我想我会在这里问.
我们通常使用插件排名来定义不同插件执行的顺序,以克服依赖性问题.
题
如果一个实体在同一个事件和同一个阶段注册了多个插件(来自不同的dll或相同的dll),并且所有插件的Rank/Order都是1 - 它们被触发的顺序是什么?
它们都是并行执行的吗?它取决于首先注册的插件等吗?如果可以,请指出任何MSDN参考.
提前致谢.
嗨,请找到以下复制MSDN,
执行顺序:
Specifies the order, also known as rank, that plug-ins are executed within a
pipeline stage. Plug-ins registered with an order value of 1 are executed
first, followed by plug-ins registered with an order of 2, and so on. However,
if there is more than one plug-in in a stage with the same order value, then
the plug-in with the earliest compilation date is called first.
Run Code Online (Sandbox Code Playgroud)
使用Microsoft Dynamics CRM 2011和Microsoft Dynamics CRM Online的插件注册工具
| 归档时间: |
|
| 查看次数: |
2198 次 |
| 最近记录: |