Reference
OpcStateMachineStatesAttribute Members
Defines unique states that a custom OpcStateMachineNode can enter using an enumeration type.
Reference
OpcStateMachineStatesAttribute Members
- Type
- OpcStateMachineStatesAttribute
- Namespace
- Opc.UaFx
- Assembly
- Opc.UaFx.Advanced.dll
- Package
- Opc.UaFx.Advanced v2.59.0
Inherits members from Attribute.
Constructors
OpcStateMachineStatesAttribute
Initializes a new instance of the OpcStateMachineStatesAttribute class using the specified statesType.
csharp
public OpcStateMachineStatesAttribute(Type statesType)vbnet
Public Sub New(statesType As Type)Parameters
| Name | Type | Description |
|---|---|---|
statesType | Type | The enumeration Type used to define the different states. |
Exceptions
| Exception | Condition |
|---|---|
| Argument | The statesType is not an enumeration type. |
| Argument | The statesType is a null reference ( |
Properties
StatesType
Gets the Type which defines the different states.
csharp
public Type StatesType { get; }vbnet
Public ReadOnly Property StatesType As TypeProperty value
An enumeration Type used to define the different states.

