Skip to content

Reference

OpcDialogRequestedEventArgs Members

Provides the event data for the DialogRequested event.

Reference

OpcDialogRequestedEventArgs Members ​

Type
OpcDialogRequestedEventArgs
Namespace
Opc.UaFx.Client
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0
Also in
Opc.UaFx.Client

Inherits members from EventArgs.

Constructors ​

OpcDialogRequestedEventArgs ​

Initializes a new instance of the OpcDialogRequestedEventArgs class using the specified dialog.

csharp
public OpcDialogRequestedEventArgs(OpcDialogCondition dialog)
vbnet
Public Sub New(dialog As OpcDialogCondition)

Parameters

NameTypeDescription
dialogOpcDialogConditionThe OpcDialogCondition which is requesting the dialog.

Exceptions

ExceptionCondition
ArgumentNullExceptionThe dialog is a null reference (Nothing in Visual Basic).

Properties ​

Dialog ​

Gets the data of the event which is requesting the dialog.

csharp
public OpcDialogCondition Dialog { get; }
vbnet
Public ReadOnly Property Dialog As OpcDialogCondition

Property value

OpcDialogCondition

The OpcDialogCondition representing the dialog event information.

SelectedResponse ​

Gets or sets the index of the response option selected.

csharp
public int SelectedResponse { get; set; }
vbnet
Public Property SelectedResponse As Integer

Property value

Int32

The index of one of the ResponseOptions supported by the Dialog or -1 if there is no response option selected. The value -1 is the default value.