SetAsyncMessageBoxResult Method
Sends input to the running XJEase code representing the result of an async message box.
Type: Runner
Namespace: XJTAG.Integration.XJRunner
Syntax
public void SetAsyncMessageBoxResult(MessageBoxResult result)
Parameters
- result
Type: MessageBoxResult
The result to set for the message box.
Exceptions
- RuntimeException
There was an error sending the result to XJEase.
- System.ObjectDisposedException
The Runner has already been disposed.
Remarks
This should be used only to set the result of an asynchronous message box, created in XJEase using the MESSAGEBOX_ASYNC function. To determine whether a DisplayMessageBox event represents an asynchronous message box, use the IsAsync property on the MessageBoxEventArgs provided by the event. To set the result of a synchronous message box, use the SetResult method instead.
XJTAG v4.2.5
