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

Executes the specified Request on the CRM service.

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 Response Execute(
	Guid entityId,
	Request request,
	bool onlyIfOnline,
	bool async
)
Visual Basic (Declaration)
Public Overridable Function Execute ( _
	entityId As Guid, _
	request As Request, _
	onlyIfOnline As Boolean, _
	async As Boolean _
) As Response

Parameters

entityId
Type: System..::.Guid
The id of a specific entity, otherwise Guid.Emtpy.
request
Type: Request
A CRM Request object. This has to be a specialized object, e.g. MergeRequest or SetRelatedRequest.
onlyIfOnline
Type: System..::.Boolean
Determines if the request is only executed when online, so will not be queued.
async
Type: System..::.Boolean
true if this action should be send asynchronously to the CRM server. This parameter only applies when onlyIfOnline is true.

Return Value

A CRM Response object. This needs to be cast to the specialized object, e.g. MergeResponse or SetRelatedResponse.

See Also