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

IsSuspendUserExecutable() protected method

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