Respond is used to pass the selected response option and end the dialog. DialogState/Id will return to False.
Signature
Respond(
[in] Int32 SelectedResponse
);
The parameters are defined in Table 2626
Table 2626 – Respond parameters
|
Argument |
Description |
|
SelectedResponse |
Selected index of the ResponseOptionSet array. |
Method result codes in Table 2727 (defined in Call Serv ice)
Table 2727 – Respond Result Codes
|
Result Code |
Description |
|
Bad_DialogNotActive |
See Table 137137 for the description of this result code. |
|
Bad_DialogResponseInvalid |
See Table 137137 for the description of this result code. |
Table 2828 specifies the AddressSpace representation for the Respond Method.
Table 2828 – Respond Method AddressSpace definition
|
Attribute |
Value |
||||
|
BrowseName |
Respond |
||||
|
References |
NodeClass |
BrowseName |
DataType |
TypeDefinition |
ModellingRule |
|
HasProperty |
InputArguments |
Argument[] |
PropertyType |
Mandatory |
|
|
AlwaysGeneratesEvent |
ObjectType |
AuditConditionRespondEventType |
Defined in 5.10.5
|
||
|
ConformanceUnits |
|||||
|
A & C Dialog |
|||||
If Auditing is supported, this Method shall generate an Event of AuditConditionRespondEventType for all invocations of the Method.