I have a working BPM Data Form. I am looking for a way to prevent or check for when the user Xs the form and not click OK or CANCEL, see error message below:
Application Error
Exception caught in: Ice.Lib.EpiClientLib
Error Detail
Message: The process caller failed to invoke method InvokeSearch in Ice.Lib.Searches.EpiSearchEngine in Ice.Lib.EpiClientLib.dll
Inner Exception Message: Exception has been thrown by the target of an invocation.
Program: Ice.Lib.EpiClientLib.dll
Method: InvokeReflectedMethod
Client Stack Trace
at Ice.Lib.Framework.PCallReflector.InvokeReflectedMethod(MethodInfo Method, Object Object, Object[] MethodParams, String className, String assemblyName)
at Ice.Lib.Framework.PCallReflector.LaunchDotNet(String assemblyName, String className, Hashtable ctorList, String methodName, Hashtable methodList)
Inner Exception
Exception has been thrown by the target of an invocation.
Inner Stack Trace
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Ice.Lib.Framework.PCallReflector.InvokeReflectedMethod(MethodInfo Method, Object Object, Object[] MethodParams, String className, String assemblyName)
Inner Exception
input was cancelled by user
Inner Stack Trace
at Ice.Lib.Searches.EpiSearchEngine.invokeSearch(String AdapterName, SearchOptions opts)
at Ice.Lib.Searches.EpiSearchEngine.InvokeSearch(String AdapterName, SearchOptions opts)