...
- Run Stop Method: runs the Stop() method.
- References: maintains a list of references used by the device (see Using References below).
- Service References: maintains a list of web and service references (see Using Web and Service References below).
- Resources: maintains a list of embedded resource files (see Using Resources below).
- Code: maintains a list of code files (see Using code files below).
- Transform status: displays the compile status and method calls (Start, Stop, ProcessMessage).
- Input Message: If there are messages in the upstream Queue, you can view the messages in this pane by selecting one. Use the forward/back arrows to browse through the messages in the queue. You can also paste a message into this pane. This message is used as the source message for your transform.
- Output Message: displays the resulting message after the transform is executed, and highlights any differences.
- Debug Output Pane: displays the results of any Logger method calls (for example, Logger.DebugFormat(...)).
- Compile Errors: displays any errors generated by the compiler.
...
- Start: Called once when this device is started by the containing channel (channel started).
- Stop: Called once when this device is stopped by the containing channel (channel stopped).
- ProcessMessage: Called for every message received by this device. Your message logic should in this method.
Using References
The Custom Code Device allows the addition of local custom assemblies and .NET-framework assemblies. To add an assembly to your project, right click the References
...
item and select Add Reference... A references window is opened showing a list of all assemblies registered in the GAC. You can either select a GAC-installed assembly from the list, or click the Browse button to point to a specific assembly file.
<screen shot>
The window contains the following:
- Filter: Filter the GAC assemblies list.
- Include: Check the checkbox beside the assembly you would like to include. Multiple assemblies can be selected before clicking OK.
- Assembly Name: The GAC assembly name.
- Version: The assembly version.
Note |
---|
You may have multiple framework assembly versions listed. Be sure to choose the version that targets the .NET 4.5.1 framework. |
- Path: The path of the assembly file.
- Browse: Click to open a specific assembly file.
Registered Trademark |
---|
It is your responsibility to include all dependent assemblies for each assembly you reference. Often the error "Metadata file 'ActiproSoftware.BarCode.Wpf351.dll' could not be found" indicates a missing required assembly. |
To remove a reference, right-click it in the list and select Remove Reference.
Using Web and Service References