Assembly
- Last UpdatedMay 17, 2023
- 1 minute read
The hook method in the assembly has a single string parameter that accepts the XML message from the middleware event. The XML message is the exact XML generated for the middleware event to process. The end user is responsible for parsing the XML message and extracting the relevant data from the XML message. See the Stateless API help for more details about the XML structure. The middleware calls impersonate the System Platform Network User; therefore, the custom (hook) assembly is invoked as that user.
The assembly name can be configured in two ways:
-
If the assembly is added to the GAC, then the detailed information about the assembly version, public key token, etc. must be specified.
-
However, if the assembly is not added to the GAC, then the physical location of the assembly must be specified.
In both of these cases, the class name and the method name must be specified by separating them by a semi-colon (;).
Note: The configured Extensibility Hook method can accept only one string parameter.