Changes
Created page with "The InvokeInterface activity invokes a {{UBIK}} interface component. {{ActivityInfoBox | title = Invoke Interface | name = InvokeInterface | image = | imagecaption = Activi..."
The InvokeInterface activity invokes a {{UBIK}} interface component.
{{ActivityInfoBox
| title = Invoke Interface
| name = InvokeInterface
| image =
| imagecaption = Activity InvokeInterface
| purpose = Invoke a programmed interface
| category = Control Flow
| returns = True if successful
| version = 2.1.14+
}}
==Arguments==
{| class="wikitable sortable" | width = "50%"
|-
! Argument !! Type !! Direction !! Purpose
|- align="left"
| InterfaceFilename|| String|| In || The full path to the interface assembly file
|- align="left"
| ClassName|| String|| In || The name of the class to instantiate that derives from ''UBIK.Interface.InterfaceBase''
|- align="left"
| Parameters|| Dictionary<string, string> || In || The parameters to pass to the interface
|- align="left"
| ImportInterface|| IUBIKImport|| Out || The instantiated import component, if implemented by the interface
|- align="left"
| ExportInterface|| IUBIKExport|| Out || The instantiated export component, if implemented by the interface
|- align="left"
| Result|| Boolean|| Out || True if successful, false if failed
|}
==Usage==
This activity is used to load and invoke a programmed {{UBIK}} [[Interface|interface component]], just like the [[EnterpriseService]] would do.
==Example==
Invoke the class ''TestClass'' from the assembly C:\temp\UBIK.Interface.Test.dll and pass two parameters:
{| class="wikitable" | width = "50%"
|-
! Argument!! Value
|- align="left"
| InterfaceFilename|| <source lang = "vbnet">"C:\temp\UBIK.Interface.Test.dll"</source>
|- align="left"
| ClassName|| <source lang = "vbnet">"TestClass"</source>
|- align="left"
| Parameters|| <source lang = "vbnet">"New System.Collections.Generic.Dictionary(Of String, String) _
From {{"parameter1", "value1"}, {"parameter2", "value2"}}"</source>
|}
==See also==
* [[Workflow Designer]]
* [[InvokeWorkflow (Activity)]]
[[Category:Workflows]] [[Category:Activities]]
{{ActivityInfoBox
| title = Invoke Interface
| name = InvokeInterface
| image =
| imagecaption = Activity InvokeInterface
| purpose = Invoke a programmed interface
| category = Control Flow
| returns = True if successful
| version = 2.1.14+
}}
==Arguments==
{| class="wikitable sortable" | width = "50%"
|-
! Argument !! Type !! Direction !! Purpose
|- align="left"
| InterfaceFilename|| String|| In || The full path to the interface assembly file
|- align="left"
| ClassName|| String|| In || The name of the class to instantiate that derives from ''UBIK.Interface.InterfaceBase''
|- align="left"
| Parameters|| Dictionary<string, string> || In || The parameters to pass to the interface
|- align="left"
| ImportInterface|| IUBIKImport|| Out || The instantiated import component, if implemented by the interface
|- align="left"
| ExportInterface|| IUBIKExport|| Out || The instantiated export component, if implemented by the interface
|- align="left"
| Result|| Boolean|| Out || True if successful, false if failed
|}
==Usage==
This activity is used to load and invoke a programmed {{UBIK}} [[Interface|interface component]], just like the [[EnterpriseService]] would do.
==Example==
Invoke the class ''TestClass'' from the assembly C:\temp\UBIK.Interface.Test.dll and pass two parameters:
{| class="wikitable" | width = "50%"
|-
! Argument!! Value
|- align="left"
| InterfaceFilename|| <source lang = "vbnet">"C:\temp\UBIK.Interface.Test.dll"</source>
|- align="left"
| ClassName|| <source lang = "vbnet">"TestClass"</source>
|- align="left"
| Parameters|| <source lang = "vbnet">"New System.Collections.Generic.Dictionary(Of String, String) _
From {{"parameter1", "value1"}, {"parameter2", "value2"}}"</source>
|}
==See also==
* [[Workflow Designer]]
* [[InvokeWorkflow (Activity)]]
[[Category:Workflows]] [[Category:Activities]]