Jump to: navigation, search

Difference between revisions of "Activity:InvokeInterface (Activity)"


(Arguments)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
The InvokeInterface activity invokes a {{UBIK}} interface component.
 +
= Description =
 
{{ActivityInfoBox
 
{{ActivityInfoBox
 
| title = Invoke Interface
 
| title = Invoke Interface
Line 9: Line 11:
 
| version = 2.1.14+
 
| version = 2.1.14+
 
}}
 
}}
The InvokeInterface activity invokes a {{UBIK}} interface component.
 
  
==Arguments==
+
===Arguments===
 
{| class="wikitable sortable" | width = "50%"
 
{| class="wikitable sortable" | width = "50%"
 
|-
 
|-
Line 29: Line 30:
 
|}
 
|}
  
==Usage==
+
===Usage===
  
This activity is used to load and invoke a programmed {{UBIK}} [[Interface|interface component]], just like the [[EnterpriseService]] would do.
+
This activity is used to load and invoke a programmed {{UBIK}} [[Interface|interface component]], just like the [[Enterprise Service]] would do.
  
==Example==
+
=Example=
  
 
Invoke the class ''TestClass'' from the assembly C:\temp\UBIK.Interface.Test.dll and pass two parameters:
 
Invoke the class ''TestClass'' from the assembly C:\temp\UBIK.Interface.Test.dll and pass two parameters:
Line 48: Line 49:
 
From {{"parameter1", "value1"}, {"parameter2", "value2"}}</source>
 
From {{"parameter1", "value1"}, {"parameter2", "value2"}}</source>
 
|}
 
|}
 +
 +
<headertabs />
  
 
==See also==
 
==See also==
 
* [[Workflow Designer]]
 
* [[Workflow Designer]]
* [[InvokeWorkflow (Activity)]]
+
* [[Activity:InvokeWorkflow (Activity)]]
  
[[Category:Workflows]] [[Category:Activities]]
+
[[Category:Activities]]

Latest revision as of 15:34, 4 March 2015

The InvokeInterface activity invokes a UBIK® interface component.

[edit]

Description

Invoke Interface
Name InvokeInterface
Purpose Invoke a programmed interface
Category Control Flow
Returns True if successful
Version 2.1.14+

Arguments

Argument Type Direction Purpose
InterfaceFilename String In The full path to the interface assembly file
ClassName String In The name of the class to instantiate that derives from UBIK.Interface.InterfaceBase
Parameters Dictionary<String, String> In The parameters to pass to the interface
ImportInterface IUBIKImport Out The instantiated import component, if implemented by the interface
ExportInterface IUBIKExport Out The instantiated export component, if implemented by the interface
Result Boolean Out True if successful, false if failed

Usage

This activity is used to load and invoke a programmed UBIK® interface component, just like the Enterprise Service would do.

Example

Invoke the class TestClass from the assembly C:\temp\UBIK.Interface.Test.dll and pass two parameters:

Argument Value
InterfaceFilename
"C:\temp\UBIK.Interface.Test.dll"
ClassName
"TestClass"
Parameters
New System.Collections.Generic.Dictionary(Of String, String) _
From {{"parameter1", "value1"}, {"parameter2", "value2"}}

See also