Opc.Ua.ProgramStateMachineState.IsHaltUserExecutable C# (CSharp) Method

IsHaltUserExecutable() protected method

Checks whether the halt method is executable by the current user.
protected IsHaltUserExecutable ( ISystemContext context, NodeState node, bool &value ) : ServiceResult
context ISystemContext
node NodeState
value bool
return ServiceResult
        protected ServiceResult IsHaltUserExecutable(
            ISystemContext context,
            NodeState node,
            ref bool value)
        {
            value = IsCausePermitted(context, Methods.ProgramStateMachineType_Halt, true);       
            return ServiceResult.Good;
        }