private void DacServices_ProgressChanged(object sender, DacProgressEventArgs e) { var message = $"Status: {e.Status}, Message: {e.Message}"; Application.Current.Dispatcher.BeginInvoke( DispatcherPriority.Background, new Action(() => TxtInstallDatabase.Text = TxtInstallDatabase.Text + message + Environment.NewLine)); }
private void EventHandlerDacServiceInstanceProgressChanged(object sender, DacProgressEventArgs e) { try { _txtRestoreDBServer.Text += "DAC Progress Changed" + Environment.NewLine; _txtRestoreDBServer.Text += " Status: "+ e.Status.ToString(); _txtRestoreDBServer.Text += " Message: "+ e.Message.ToString(); _txtRestoreDBServer.Text += " OperationId: "+ e.OperationId.ToString(); _txtRestoreDBServer.Text += Environment.NewLine; } catch (Exception ex) { _txtRestoreDBLog.Text = ex.ToString(); } }
/// <summary> /// Logs the given DAC progress. /// </summary> /// <param name="instanceName"></param> /// <param name="databaseName"></param> /// <param name="args"></param> void LogDacServiceProgress(string instanceName, string databaseName, DacProgressEventArgs args) { logger.LogInformation("{Instance}.{Database}: {Message}", instanceName, databaseName, args.Message); }
private static void receiveDacServiceProgessEvent(object sender, DacProgressEventArgs e) { Console.WriteLine(string.Format("Progress Event:{0} Progrss Status:{1}", e.Message, e.Status)); }
private void dacServices_ProgressChanged(object sender, DacProgressEventArgs e) { _logAction(e.Message); }
private static void DacServices_ProgressChanged(object sender, DacProgressEventArgs e) { var aa = e.Message; }
private void OnDacServerProcessChanged(object sender, DacProgressEventArgs args) { Logs.Add(String.Format("[{0}] {1} - {2}", args.OperationId, args.Status, args.Message)); }
private static void dacServices_ProgressChanged(object sender, DacProgressEventArgs e) { Console.WriteLine(e.Status + ": " + e.Message); }
public static void DacProgressEvent(object sender, DacProgressEventArgs e) { Console.WriteLine("Progress Event:{0} Progress Status:{1}", e.Message, e.Status); }
private static void ServiceOnProgressChanged(object sender, DacProgressEventArgs dacProgressEventArgs) { Console.WriteLine("{0} {1}", dacProgressEventArgs.Message, dacProgressEventArgs.Status); }
private static void DacServices_ProgressChanged(object sender, DacProgressEventArgs e) { Console.WriteLine(e.Message); }
static void dbServices_ProgressChanged(object sender, DacProgressEventArgs e) { output.WriteLine(e.Status + ": " + e.Message); }
public static void ProgressChanged(object sender, DacProgressEventArgs e) { Debug.WriteLine(e.Status + ": " + e.Message); }
private void service_ProgressChanged(object sender, DacProgressEventArgs e) { Console.WriteLine(e.Message); }
private void ReceiveDacServiceProgressEvent(object sender, DacProgressEventArgs e) { //TODO: This is useless and going nowhere //Logger.WriteToLogText("Progress Event:{0} Progress Status:{1}", e.Message, e.Status); }