UnityEventTools AddPersistentListener with function with 2 arguments?

Does somebody know how to set OnClick event from Editor Script with passing 2 arguments to the function?

Example for passing one argument into MyFunc( string arg1)

Button b = ch*.GetComponent<Button>();*

UnityAction action = new UnityAction(MyFunc);
UnityEventTools.RemovePersistentListener(b.onClick, action);
UnityEventTools.AddStringPersistentListener(b.onClick, action, ID+“_”+i);
But How to do this in case of MyFunc( string arg1, string arg2)?

Thanks for reply but this solution gives me error like:

ArgumentException: Could not register callback <ParseLessons>b__0 on . The class null does not derive from UnityEngine.Object
UnityEngine.Events.UnityEventBase.ValidateRegistration (System.Reflection.MethodInfo method, System.Object targetObj, UnityEngine.Events.PersistentListenerMode mode, System.Type argumentType) (at /Users/bokken/buildslave/unity/build/Runtime/Export/UnityEvent/UnityEvent.cs:874)
UnityEngine.Events.UnityEventBase.ValidateRegistration (System.Reflection.MethodInfo method, System.Object targetObj, UnityEngine.Events.PersistentListenerMode mode) (at /Users/bokken/buildslave/unity/build/Runtime/Export/UnityEvent/UnityEvent.cs:863)
UnityEngine.Events.UnityEventBase.RegisterPersistentListener (System.Int32 index, System.Object targetObj, System.Reflection.MethodInfo method) (at /Users/bokken/buildslave/unity/build/Runtime/Export/UnityEvent/UnityEvent.cs:899)
UnityEngine.Events.UnityEvent.RegisterPersistentListener (System.Int32 index, UnityEngine.Events.UnityAction call) (at /Users/bokken/buildslave/unity/build/Runtime/Export/UnityEvent/UnityEvent/UnityEvent_0.cs:99)
UnityEngine.Events.UnityEvent.AddPersistentListener (UnityEngine.Events.UnityAction call, UnityEngine.Events.UnityEventCallState callState) (at /Users/bokken/buildslave/unity/build/Runtime/Export/UnityEvent/UnityEvent/UnityEvent_0.cs:87)
UnityEngine.Events.UnityEvent.AddPersistentListener (UnityEngine.Events.UnityAction call) (at /Users/bokken/buildslave/unity/build/Runtime/Export/UnityEvent/UnityEvent/UnityEvent_0.cs:80)
UnityEditor.Events.UnityEventTools.AddPersistentListener (UnityEngine.Events.UnityEvent unityEvent, UnityEngine.Events.UnityAction call) (at /Users/bokken/buildslave/unity/build/Editor/Mono/Utils/UnityEventTools.cs:21)