/// <summary> /// This method is called when the Microservice completes the start request. /// </summary> internal virtual void OnExecuteComplete(Microservice.TransmissionPayloadState state) { try { ExecuteComplete?.Invoke(mService, state); } catch (Exception ex) { mDataCollection?.LogException("ExecuteComplete event / external exception thrown on event", ex); } }
protected virtual void OnExecuteComplete(ref WFSRESULT result, int EventID) { //Task.Run(() => { L4Logger.Info("OnExecuteComplete ServiceName => " + serviceName); }); if (result.hResult == 0) { if (ExecuteComplete != null) { ExecuteComplete?.Invoke(serviceType, result.lpBuffer, EventID); } } else { if (ExecuteCompleteError != null) { ExecuteCompleteError?.Invoke(serviceType, result.hResult); } } }
/// <summary>Called when the engine has completed installing packages.</summary> /// <param name="args">The arguments of the event.</param> public void OnExecuteComplete(WPFBootstrapperEventArgs <Wix.ExecuteCompleteEventArgs> args) { ExecuteComplete?.Invoke(this, args); }