5.6.3 Respond Method

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 26

Table 26 – Respond parameters
Argument Description
SelectedResponseSelected index of the ResponseOptionSet array.

Method result codes in Table 27 (defined in Call Service)

Table 27 – Respond Result Codes
Result Code Description
Bad_DialogNotActiveSee Table 137 for the description of this result code.
Bad_DialogResponseInvalidSee Table 137 for the description of this result code.

Table 28 specifies the AddressSpace representation for the Respond Method.

Table 28 – Respond Method AddressSpace definition
Attribute Value
BrowseNameRespond
References NodeClass BrowseName DataType TypeDefinition ModellingRule
HasProperty Variable InputArgumentsArgument[] PropertyTypeMandatory
AlwaysGeneratesEventObjectTypeAuditConditionRespondEventType

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.