Async

Class Overview
Class for executing asynchronous operations in the target application of AppVar and AppFriends.
When the operation has a return value or ref or out arguments, the values for these are stored in this class' object after the operation has finished
.


public bool IsCompleted{get;}
Description
Indicates whether the operation has finished.



public Exception ExecutingException{get;}
       
Description
                Provides any exception that occurred during the execution. 
                Returns null if the operation has not yet completed or if there was no exception.
 
       


public void WaitForCompletion()
        Description
                Waits until the operation has finished.                 
        


public void SetCompleted()
Description
Marks the operation as complete. 
Should not typically be used
Used by implementations of this class or by libraries. 

JR