示例#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);
 }