Difference between revisions of "Activity:InvokeInterface (Activity)"
(Created page with "The InvokeInterface activity invokes a {{UBIK}} interface component. {{ActivityInfoBox | title = Invoke Interface | name = InvokeInterface | image = | imagecaption = Activi...") |
|||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
The InvokeInterface activity invokes a {{UBIK}} interface component. | The InvokeInterface activity invokes a {{UBIK}} interface component. | ||
− | + | = Description = | |
− | + | ||
{{ActivityInfoBox | {{ActivityInfoBox | ||
| title = Invoke Interface | | title = Invoke Interface | ||
Line 13: | Line 12: | ||
}} | }} | ||
− | + | ===Arguments=== | |
− | + | ||
− | + | ||
− | + | ||
− | ==Arguments== | + | |
− | + | ||
{| class="wikitable sortable" | width = "50%" | {| class="wikitable sortable" | width = "50%" | ||
|- | |- | ||
! Argument !! Type !! Direction !! Purpose | ! Argument !! Type !! Direction !! Purpose | ||
|- align="left" | |- align="left" | ||
− | | InterfaceFilename|| | + | | InterfaceFilename|| {{String_MSDN}}|| In || The full path to the interface assembly file |
|- align="left" | |- align="left" | ||
− | | ClassName|| | + | | ClassName|| {{String_MSDN}}|| In || The name of the class to instantiate that derives from ''UBIK.Interface.InterfaceBase'' |
|- align="left" | |- align="left" | ||
− | | Parameters|| Dictionary< | + | | 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|| | + | | 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 52: | Line 46: | ||
| ClassName|| <source lang = "vbnet">"TestClass"</source> | | ClassName|| <source lang = "vbnet">"TestClass"</source> | ||
|- align="left" | |- align="left" | ||
− | | Parameters|| <source lang = "vbnet"> | + | | Parameters|| <source lang = "vbnet">New System.Collections.Generic.Dictionary(Of String, String) _ |
− | From {{"parameter1", "value1"}, {"parameter2", "value2"}} | + | 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.