SubEnd

 

This control has no features applicable to VisualConnect application development

Initial Setup Properties

INodeName

 

 

Runtime Properties

NodeName

 

 

Methods

TakeCall

 

 

Events

Enter

Exit

 

Overview

Transfers the call to the last SubStart control that was entered by this call. The SubStart will exit the exitnode corresponding to NodeName.

See the example Using The SubStart And SubEnd Controls.

Initial Setup Properties

Note that all of these properties are only valid when composite controls are in use.

INodeName

(String)

Name of the exitnode on the SubStart control that invokes this subroutine. All SubEnds in a subroutine must use unique node names.

Runtime Properties

NodeName

(String)

Use this property to override INodeName at runtime.

Methods

TakeCall

This method allows the programmer to override the graphical connections and transfer a call to any other control. See TakeCall.

Events

Enter

See Enter Event.

Exit

See Exit Event.

Composite Controls

Composite controls allow you to create your own controls that integrate into the VBVoice environment and also allow call handoff to other programs. For more information, see VBVoice Composite Controls.

Using the SubStart and SubEnd Controls

In the example below, a call exits from the Ring output of LineGroup1 and goes directly to the SubStart1 control. Upon exiting from SubStart1, it goes to the Delay1 control on Page 2 (below). The Delay1 control in this example represents a block of code that can be accessed from several places in the design, with a return to the origination point on completion. Once the delay is complete, the call is routed to the SubEnd control, at which point the SubStart control routes the call to the Onhook control