Acquire Image Tool Properties Server Side Plug-Ins As noted in the table above, server side plug-ins always run in the application domain of the AceServer. As such, all objects created by the plug-in already belong to the AceServer application domain. However, the AceServer::CreateObject also handles other initializations, assignments, and type mapping that may be needed when an object is created. Because of this, even server-side plug-ins should use the AceServer::CreateObject method when dealing with RemotableObject types. Data Collection Sample This sample shows how to use data collection from within a C# program. Default C# Program When a C# Program is created, the following is created:
The script is comprised of several major elements: l C# class defenition l IAceServer field l Main method entry point The script contains many lines that cannot be modified and are considered protected. These are designated by the light grey background. Notice that the namespace, class name, IAceServer field name, and Main method lines are protected and cannot be changed. When the C# Program is executed, the text in the script is dynamically compiled in memory and the Main method is called. It is up to the user to define the logic of the script. ACE Reference Guide, 18317-000 Rev A Page 627