/// <summary> /// <see cref="IEmulatorCommands.EndEmulateVerificationSCU"/> /// </summary> /// <returns></returns> public bool EndEmulateVerificationSCU( IAsyncResult ar) { // Retrieve the delegate. AsyncEmulateVerificationSCUDelegate dlgt = (AsyncEmulateVerificationSCUDelegate)ar.AsyncState; // Call EndInvoke to retrieve the results. bool retValue = dlgt.EndInvoke(ar); return(retValue); }
/// <summary> /// <see cref="IEmulatorCommands.BeginEmulateVerificationSCU"/> /// </summary> /// <returns></returns> public System.IAsyncResult BeginEmulateVerificationSCU( AsyncCallback cb) { // Create the delegate. AsyncEmulateVerificationSCUDelegate dlgt = new AsyncEmulateVerificationSCUDelegate(this.EmulateVerificationSCU); // Initiate the asychronous call. object asyncState = dlgt; IAsyncResult ar = dlgt.BeginInvoke( cb, asyncState); return(ar); }
/// <summary> /// <see cref="IEmulatorCommands.BeginEmulateVerificationSCU"/> /// </summary> /// <returns></returns> public System.IAsyncResult BeginEmulateVerificationSCU( AsyncCallback cb) { // Create the delegate. AsyncEmulateVerificationSCUDelegate dlgt = new AsyncEmulateVerificationSCUDelegate(this.EmulateVerificationSCU); // Initiate the asychronous call. object asyncState = dlgt; IAsyncResult ar = dlgt.BeginInvoke( cb, asyncState); return ar; }