Тема: Workflow и Plugin
Показать сообщение отдельно
Старый 11.11.2012, 12:57   #7  
scint is offline
scint
Участник
 
43 / 14 (1) ++
Регистрация: 25.02.2009
Спс за статью, подключался не на тот процесс( В результате дебага вижу следующее

'CrmAsyncService.exe' (Managed (v4.0.30319)): Loaded 'Workflow'
'CrmAsyncService.exe' (Managed (v4.0.30319)): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_64\ISymWrapper\v4.0_4.0.0.0__b03f5f7f11d50a3a\ISymWrapper.dll', Symbols loaded.
Function: CrTas.CrTasPlug.PostЗадачаCreate.ExecutePostЗадачаCreate(CrTas.CrTasPlug.Plugin.LocalPluginContext), Thread: 0x1F94 <No Name>
A first chance exception of type 'System.NotSupportedException' occurred in System.Runtime.DurableInstancing.dll
A first chance exception of type 'System.NotSupportedException' occurred in System.Runtime.DurableInstancing.dll
'CrmAsyncService.exe' (Managed (v4.0.30319)): Loaded 'Workflow'
'CrmAsyncService.exe' (Managed (v4.0.30319)): Loaded 'Workflow'
Function: CrTas.CrTasPlug.PostЗадачаCreate.ExecutePostЗадачаCreate(CrTas.CrTasPlug.Plugin.LocalPluginContext), Thread: 0x1F94 <No Name>
Function: CrTas.CrTasPlug.PostЗадачаCreate.ExecutePostЗадачаCreate(CrTas.CrTasPlug.Plugin.LocalPluginContext), Thread: 0xBD8 <No Name>
A first chance exception of type 'System.NotSupportedException' occurred in System.Runtime.DurableInstancing.dll
A first chance exception of type 'System.NotSupportedException' occurred in System.Runtime.DurableInstancing.dll
Function: CrTas.CrTasPlug.PostЗадачаCreate.ExecutePostЗадачаCreate(CrTas.CrTasPlug.Plugin.LocalPluginContext), Thread: 0xBD8 <No Name>
A first chance exception of type 'System.NotSupportedException' occurred in System.Runtime.DurableInstancing.dll
A first chance exception of type 'System.NotSupportedException' occurred in System.Runtime.DurableInstancing.dll
A first chance exception of type 'System.Net.Sockets.SocketException' occurred in System.dll
A first chance exception of type 'System.ServiceModel.CommunicationException' occurred in System.ServiceModel.dll

То есть по факту, четыре раза выполняется +1, а в реальности вижу в счетчике 3