Показать сообщение отдельно
Старый 02.05.2006, 09:48   #1  
ShurikEv is offline
ShurikEv
CRM
 
213 / 28 (1) +++
Регистрация: 25.04.2006
Адрес: г. Новосибирск
-> Проблема в PostUpdate
Цитата:
CrmCalloutBase.PostUpdate Method

Specifies a method called after an update operation.
Syntax
[Visual Basic .NET]
Overridable Public Sub PostUpdate(
ByVal userContext As CalloutUserContext,
ByVal entityContext As CalloutEntityContext,
ByVal preImageEntityXml As String,
ByVal postImageEntityXml As String)
[C#]
public virtual void PostUpdate(
CalloutUserContext userContext,
CalloutEntityContext entityContext,
string preImageEntityXml,
string postImageEntityXml);
[JScript]
public virtual function PostUpdate(
userContext : CalloutUserContext,
entityContext : CalloutEntityContext,
preImageEntityXml : String,
postImageEntityXml : String);

Parameters
userContext
Contains information about the user who performed the update operation. See CalloutUserContext.
entityContext
Contains information about the entity on which the update operation was performed. See CalloutEntityContext.
preImageEntityXml
An XML string that describes the entity before the update operation was performed. This is a serialized version of DynamicEntity.
postImageEntityXml
An XML string that describes the entity after the update operation was performed. This is a serialized version of DynamicEntity.
Return Value
No return value.
Повешал этот обработчик на событие, в отладчике в самом начале функции поставил breakpoint. Когда происходит останов программы, я смотрю что изменилось анализом preImageEntityXml и postImageEntityXml. Они почему-то пустые Как я могу узнать что было и что стало, т.е. что изменилось?