SysOperationServiceController.executeOperationWithRunAs Method [AX 2012]

Determines whether a call should be run on the server by using the CLR runtime.If marshaling is required the call is packed into a container and marshaled with the RunAs API.

Syntax

protected boolean executeOperationWithRunAs()

Run On

Called

Return Value

Type: boolean
true if call is to be run via a container to the CLR runtime; otherwise, false.

Remarks

Override this method to enable or disable marshaling to the CLR runtime using the RPC protocol.

Note that if a class is registered as a service then it will get marshaled via the WCF protocol from the desktop client.

See Also

Reference

SysOperationServiceController Class