Method [AX 2012]

Is used to construct a service controller instance.

public void new(
   [IdentifierName _className, 
    IdentifierName _methodName, 
    SysOperationExecutionMode _executionMode])

Run On



Type: IdentifierName Extended Data Type
The class name of the service class.
Type: IdentifierName Extended Data Type
The method name of the service operation.
Type: SysOperationExecutionMode Enumeration
The execution mode to use when the service operation is run.

Parm methods exist for each of the constructor parameters. The initializeFromArgs method can also be used to initialize a controller. If those options for initialization are used, the default values can be used in the constructor.