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

Assigns the entity to another user.

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

Syntax

C#
public virtual void AssignEntity(
	Guid entityId,
	Owner newOwner,
	ExecutionOptions executionOptions
)
Visual Basic (Declaration)
Public Overridable Sub AssignEntity ( _
	entityId As Guid, _
	newOwner As Owner, _
	executionOptions As ExecutionOptions _
)

Parameters

entityId
Type: System..::.Guid
The id of the entity id.
newOwner
Type: Owner
The new Owner of the entity.
executionOptions
Type: CWR.MSCRM.Mobile.Client.Helpers..::.ExecutionOptions
ExecutionOptions object containing the options on how to execute this method.

Exceptions

ExceptionCondition
CWR.MSCRM.Mobile.Client.Helpers.Exceptions..::.CalloutExceptionThrows a CalloutException when the PreAssign(CalloutEntityContext, Guid, String%) callout returns Abort.
CWR.MSCRM.Mobile.Client.Helpers.Exceptions..::.SyncExceptionThrows a SyncException when the server throws a SoapException or an unexpected exception during the execution of the Assign request.

See Also