OpcDialogResponseMethodNode.DialogResponseExCallback Delegate

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll

Passes the selected response option and ends the dialog.

C#

[CLSCompliant(false)]
public delegate void DialogResponseExCallback(OpcMethodContext context, [OpcArgument("SelectedResponse", Description = "The index of the respone option item selected.")] int selectedResponse);


Attributes CLSCompliantAttribute


Parameters

context OpcMethodContext

The OpcMethodContext to use when passing the selected response option to the alarm. This instance will be also updated with the outcome of the method call.

selectedResponse Int32

The selected index of the item in the ResponseOptions.

Remarks

This method does provide the following OpcResult information: * BadDialogNotActive * BadDialogResponseInvalid