Difference between revisions of "Activity:InvokeInterface (Activity)"
(6 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+ | ||
}} | }} | ||
− | |||
− | ==Arguments== | + | ===Arguments=== |
{| class="wikitable sortable" | width = "50%" | {| class="wikitable sortable" | width = "50%" | ||
|- | |- | ||
Line 22: | Line 23: | ||
| Parameters|| Dictionary<{{String_MSDN}}, {{String_MSDN}}> || In || The parameters to pass to the interface | | Parameters|| Dictionary<{{String_MSDN}}, {{String_MSDN}}> || In || The parameters to pass to the interface | ||
|- align="left" | |- align="left" | ||
− | | ImportInterface|| IUBIKImport|| Out || The instantiated import component, if implemented by the interface | + | | ImportInterface|| [[IUBIKImport]]|| Out || The instantiated import component, if implemented by the interface |
|- align="left" | |- align="left" | ||
− | | ExportInterface|| IUBIKExport|| Out || The instantiated export component, if implemented by the interface | + | | ExportInterface|| [[IUBIKExport]]|| Out || The instantiated export component, if implemented by the interface |
|- align="left" | |- align="left" | ||
| Result|| {{Boolean_MSDN}}|| Out || True if successful, false if failed | | Result|| {{Boolean_MSDN}}|| Out || True if successful, false if failed | ||
|} | |} | ||
− | ==Usage== | + | ===Usage=== |
− | This activity is used to load and invoke a programmed {{UBIK}} [[Interface|interface component]], just like the [[ | + | This activity is used to load and invoke a programmed {{UBIK}} [[Interface|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: | 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:Activities]] |
Latest revision as of 15:34, 4 March 2015
The InvokeInterface activity invokes a UBIK® interface component.