[This is preliminary documentation and is subject to change.]

Specifies a method called before an update operation.

Namespace:  CWR.MSCRM.Mobile.Client.BL
Assembly:  CWR.MSCRM.Mobile.Client.Sdk (in CWR.MSCRM.Mobile.Client.Sdk.dll)
Version: 4.0.0.7

Syntax

C#
public virtual PreCalloutReturnValue PreUpdate(
	CalloutEntityContext entityContext,
	DynamicEntity updatedEntityProperties,
	ref string errorMessage
)
Visual Basic (Declaration)
Public Overridable Function PreUpdate ( _
	entityContext As CalloutEntityContext, _
	updatedEntityProperties As DynamicEntity, _
	ByRef errorMessage As String _
) As PreCalloutReturnValue

Parameters

entityContext
Type: CWR.MSCRM.Mobile.Client.BL..::.CalloutEntityContext
Contains information about the entity on which the update operation was performed.
updatedEntityProperties
Type: DynamicEntity
Dictionary containing the updated properties of the entity to be updated. This dictionary may be modified during the execution of this method.
errorMessage
Type: System..::.String %
A string that contains the error message to be returned to the application.

Return Value

Returns a PreCalloutReturnValue type that specifies what action to take after this method completes.

See Also