OpcStateMachineStateAttribute Members

Namespace: Opc.UaFx
Assemblies: Opc.UaFx.Advanced.dll, Opc.UaFx.Advanced.dll
The OpcStateMachineStateAttribute type exposes the following members.

OpcStateMachineStateAttribute(uint, string)

Initializes a new instance of the OpcStateMachineStateAttribute class using the number and name of the state to define.

C#

public OpcStateMachineStateAttribute(uint number, string name)


Parameters

number UInt32

The unique number of the state to define.

name String

The unique name of the state to define.


Exceptions

ArgumentException

The name is an empty string.

ArgumentNullException

The name is a null reference (Nothing in Visual Basic).

Name

Gets the unique name of the state to define.

C#

public string Name { get; }


Property Value

String

A String used to define the unique name of the state.

Number

Gets the unique number of the state to define.

C#

public uint Number { get; }


Property Value

UInt32

An UInt32 used to define the unique number of the state.