Показать сообщение отдельно
Старый 13.08.2009, 15:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,492 / 846 (79) +++++++
Регистрация: 28.10.2006
haditeo: Is it possible to register different event handlers in only one assembly to be registered in Dynamics CRM Plugin ?
Источник: http://haditeo.wordpress.com/2009/07...cs-crm-plugin/
==============


The answer is Yes.



The reason why i need this, is because i would like to register only a single DLL for the Plugin DLL, let’s called it XXX.CRM.Plugin



To register multiple event handler, create multiple classes that implements Execute method of the IPlugin interface, then automatically when you register the plugin, you can load those classes



Now, the question is how do i select which class to be loaded against my event message ? When you register a new step, there is a plugin dropdownlist, you can select which class to be executed. Since we are registering two classes, then there will be two plugin options in the drop down list






Источник: http://haditeo.wordpress.com/2009/07...cs-crm-plugin/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.