Beispiel #1
0
 /// <summary>
 /// This method is called when the Microservice receives a start request.
 /// </summary>
 internal virtual void OnExecuteBegin(Microservice.TransmissionPayloadState state)
 {
     try
     {
         ExecuteBegin?.Invoke(mService, state);
     }
     catch (Exception ex)
     {
         mDataCollection?.LogException("OnExecuteBegin / external exception thrown on event", ex);
     }
 }
 /// <summary>Called when the engine has begun installing packages.</summary>
 /// <param name="args">The arguments of the event.</param>
 public void OnExecuteBegin(WPFBootstrapperEventArgs <Wix.ExecuteBeginEventArgs> args)
 {
     ExecuteBegin?.Invoke(this, args);
 }