ex_abort_time
Specifies how long to wait before you stop running the current batch if, for example, the Exchange Server is unavailable.
Member of namespace
EwsmailSyntax
bool ex_abort_time (int nSecs)
Parameters
- nSecs
- Type: int
Parameters
nSecs : The number of seconds to wait.Returns
Always True.Level
Batch level.Details
The action will wait the specified time before returning when an abort occurs. This action can be useful to prevent a large number of aborted batches due to an abort condition. For example, if the email server should become unavailable for a time, the abort timeout will limit the amount of aborted batches until the mail server becomes available again.If this action is not called, the default value of 30 seconds will be used.
- Example:
ex_wait_time("20") ex_abort_time("60") ex_max_docs("200") ex_scan