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

Specifies a method called before a retrieve 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 PreRetrieve(
	CalloutEntityContext entityContext,
	ref string errorMessage
)
Visual Basic (Declaration)
Public Overridable Function PreRetrieve ( _
	entityContext As CalloutEntityContext, _
	ByRef errorMessage As String _
) As PreCalloutReturnValue

Parameters

entityContext
Type: CWR.MSCRM.Mobile.Client.BL..::.CalloutEntityContext
Contains information about the entity on which the retrieve operation was performed.
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