/// forward the method call public void ProgressCombinedInfo(out TAsyncExecProgressState ProgressState, out Int16 ProgressPercentage, out String ProgressInformation) { if (RemoteObject == null) { InitRemoteObject(); } RemoteObject.ProgressCombinedInfo(out ProgressState, out ProgressPercentage, out ProgressInformation); }
/// <summary> /// Call this method from the 'Listener' object to signal the 'Instantiator' that the execution should be stopped /// </summary> /// <returns>void</returns> public void Cancel() { TLogging.LogAtLevel(6, "TAsynchronousExecutionProgress.Cancel called!"); FCancelExecution = true; FProgressState = TAsyncExecProgressState.Aeps_Stopping; // Fire event if (StopAsyncronousExecution != null) { StopAsyncronousExecution(this, new System.EventArgs()); } }
/// <summary> /// Returns ProgressState, ProgressPercentage and ProgressInformation properties /// in one call. This saves considerable bandwidth over calling these properties /// seperately! /// /// </summary> /// <param name="ProgressState">See ProgressState property</param> /// <param name="ProgressPercentage">See ProgressPercentage property</param> /// <param name="ProgressInformation">See ProgressInformation property /// </param> /// <returns>void</returns> public void ProgressCombinedInfo(out TAsyncExecProgressState ProgressState, out Int16 ProgressPercentage, out String ProgressInformation) { ProgressState = FProgressState; ProgressPercentage = FProgressPercentage; ProgressInformation = FProgressInformation; }
/// <summary> /// constructor /// </summary> public TAsynchronousExecutionProgress() : base() { FProgressState = TAsyncExecProgressState.Aeps_ReadyToStart; }