Share via


SysWorkflowInstanceContext::construct Method [AX 2012]

Microsoft internal use only.

Syntax

client server public static SysWorkflowInstanceContext construct()

Run On

Called

Return Value

Type: SysWorkflowInstanceContext Class
An instance of the SysWorkflowInstanceContext class.

Remarks

Initializes a new instance of the SysWorkflowInstanceContext class.

Use the following procedure to customize or extend the SysWorkflowInstanceContext class.

  1. Create a new class that derives from SysWorkflowInstanceContext.

  2. Overlayer the construct method on SysWorkflowInstanceContext so that it returns an instance of the derived class.

  3. Override the methods from the SysWorkflowInstanceContext class that you want to customize or extend in your derived class.

This procedure helps make sure that your customizations are maintained if the base version of the SysWorkflowInstanceContext class is changed, minimizing code conflicts during an upgrade. For more information, see Best Practices for Static Construct Methods.

See Also

Reference

SysWorkflowInstanceContext Class