Calling .NET Assemblies
Previous Top Next

You can add references to external .NET assemblies that you can call from any action by embedding an expression in a text field or with the Execute Code component.

Assemblies must be registered in the GAC with gacutil before they can be invoked from expressions.

In order to use an assembly, add a reference to the assembly from the References page in the Task Properties screen.

graphic
  
Assembly
The name or path of the assembly DLL.
 
Namespace Alias
The alias for the namespace. Think of this as the “using” or “imports” part of a C# or VB.NET program.
For example: imports myown

After the references are added you can invoke the code from the assembly in any text field from any action, for example:

<%
dim c as new myown.class1
returnvalue = c.methodinclass(1)
%>


graphic