Archived Forum Post

Index of archived forum posts


difference between asyncfinished and asyncsuccess

Jul 31 '13 at 13:15

i dont seem to be able to find what the difference between AsyncFinished and AsyncSuccess is.

also, is there a way to reset those messages once i have read them?


Accepted Answer

Both properties only have meaning under certain circumstances.

AsyncFinished is meaningless unless an asynchronous operation has been started. Upon starting the asynchronous operation, AsyncFinished will be false. (Unless the asynchronous operation finishes so quickly that by the time AsyncFinished is checked it already became true.) When AsyncFinished becomes true, it is at that point that AsyncSuccess has meaning (otherwise AsyncSuccess is meaningless). In other words, once AsyncFinished becomes true, you can then check to see if the asynchronous operation was success or failure.