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

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

Parameters

entityContext
Type: CWR.MSCRM.Mobile.Client.BL..::.CalloutEntityContext
Contains information about the entity on which the assign operation was performed.
assignedToId
Type: System..::.Guid
The UserId that the entity is assigned to.
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