Example #1
0
        public static async Task RunMediaButlerWorkflow()
        {
            Setup(GetConnString());
            MediaButler.Common.Host.MediaButlerHost xHost = new MediaButler.Common.Host.MediaButlerHost(myConfigData);

            await xHost.ExecuteAsync(cancellationTokenSource.Token);
        }
 public static async Task RunMediaButlerWorkflow()
 {
     Setup(GetConnString());
     MediaButler.Common.Host.MediaButlerHost xHost = new MediaButler.Common.Host.MediaButlerHost(myConfigData);
     try
     {
         await xHost.ExecuteAsync(myTokenSource.Token);
     }
     catch (Exception X)
     {
         Trace.TraceError("MBF Workflow Manager Error " + X.Message);
         myTokenSource.Cancel();
     }
     Trace.TraceWarning("MBF Workflow Manager Role end.");
 }