Пример #1
0
        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);
 }
Пример #4
0
 private static void receiveDacServiceProgessEvent(object sender, DacProgressEventArgs e)
 {
     Console.WriteLine(string.Format("Progress Event:{0} Progrss Status:{1}", e.Message, e.Status));
 }
Пример #5
0
 private void dacServices_ProgressChanged(object sender, DacProgressEventArgs e)
 {
     _logAction(e.Message);
 }
Пример #6
0
 private static void DacServices_ProgressChanged(object sender, DacProgressEventArgs e)
 {
     var aa = e.Message;
 }
Пример #7
0
 private void OnDacServerProcessChanged(object sender, DacProgressEventArgs args)
 {
     Logs.Add(String.Format("[{0}] {1} - {2}", args.OperationId, args.Status, args.Message));
 }
Пример #8
0
 private void OnDacServerProcessChanged(object sender, DacProgressEventArgs args)
 {
     Logs.Add(String.Format("[{0}] {1} - {2}", args.OperationId, args.Status, args.Message));
 }
Пример #9
0
 private static void dacServices_ProgressChanged(object sender, DacProgressEventArgs e)
 {
     Console.WriteLine(e.Status + ": " + e.Message);
 }
Пример #10
0
 private void dacServices_ProgressChanged(object sender, DacProgressEventArgs e)
 {
     _logAction(e.Message);
 }
Пример #11
0
 public static void DacProgressEvent(object sender, DacProgressEventArgs e)
 {
     Console.WriteLine("Progress Event:{0} Progress Status:{1}", e.Message, e.Status);
 }
Пример #12
0
 private static void ServiceOnProgressChanged(object sender, DacProgressEventArgs dacProgressEventArgs)
 {
     Console.WriteLine("{0} {1}", dacProgressEventArgs.Message, dacProgressEventArgs.Status);
 }
Пример #13
0
 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);
 }
Пример #15
0
 public static void ProgressChanged(object sender, DacProgressEventArgs e)
 {
     Debug.WriteLine(e.Status + ": " + e.Message);
 }
Пример #16
0
 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);
 }
Пример #18
0
 private static void ServiceOnProgressChanged(object sender, DacProgressEventArgs dacProgressEventArgs)
 {
     Console.WriteLine("{0} {1}", dacProgressEventArgs.Message, dacProgressEventArgs.Status);
 }