Creates an instance of the AOSLoadGen class.
public void new([UserId user, ClassId infoClass])
Type: UserId Extended Data Type
The user ID that is used to create the instance of the AOSLoadGen class. The default value is the ID of the current user.
Type: ClassId Extended Data Type
The information class that is used to create the instance of the AOSLoadGen class. The default value is info.
Control of the input to the new method could be a security risk. Therefore, this method runs under Code Access Security. Calls to this method on the server require permission from the ExecutePermission class. Make sure that the user has development privileges by setting the security key to SysDevelopment on the control that calls this method.