Skip to content

Reference

OpcStateMachineNodeExtension Members

Provides static (Shared in Visual Basic) extension methods to manage OpcStateMachineNode objects.

Reference

OpcStateMachineNodeExtension Members ​

Type
OpcStateMachineNodeExtension
Namespace
Opc.UaFx.Server
Assembly
Opc.UaFx.Advanced.dll
Package
Opc.UaFx.Advanced v2.59.0

Methods ​

ChangeState ​

static

Changes the current state of the stateMachineNode specified using the further specified context.

csharp
public static void ChangeState(
    this OpcFiniteStateMachineNode stateMachineNode,
    OpcContext context,
    uint value)
vbnet
Public Shared Sub ChangeState(
    stateMachineNode As OpcFiniteStateMachineNode,
    context As OpcContext,
    value As UInteger)

Parameters

NameTypeDescription
stateMachineNodeOpcFiniteStateMachineNodeThe OpcFiniteStateMachineNode its CurrentState is to be modified.
contextOpcContextThe OpcContext to use to respond.
valueUInt32

Exceptions

ExceptionCondition
ArgumentNullExceptionThe stateMachineNode or context is a null reference (Nothing in Visual Basic).
OpcExceptionThe change operation failed (see exception details for more information).