Method [AX 2012]

Creates a new service controller object.

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 executing the service operation.

parm methods exist for each constructor parameter. 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.