Interaction.ShowQuestion
Method | ShowQuestion |
---|---|
Module | Interaction |
Library | Core |
Action | Display a pop-up question to one or more user sessions. The pop-up includes a title, a description and positive and negative choice buttons. |
Parameters |
In synchronous mode, the method will return a table of results once all user sessions have responded or have timed out. In asynchronous mode, the method returns immediately and results will appear as events as user sessions respond or timeout.
Minimum 30 seconds, maximum 900 seconds.
In synchronous mode, Topic is not relevant and should not be supplied.
If Username is not supplied then the pop-up question will be directed at all active user sessions. |
Return values |
|
Example | // Synchronous question to a single user session. Interaction.ShowQuestion(Async:false, Description:"Are you happy with your machine performance?", NegativeChoice:"No, not really", PositiveChoice:"Yes, thanks", Title:"System performance", UserName:"acme\\development"); // Asynchronous question to all user sessions on this device. Interaction.ShowQuestion(Async:true, Description:"Are you happy with the network speed?", Title:"network performance", Topic:"Network question"); |
Platforms |
|
Notes |